Digital servo control system for use in disk drives

ABSTRACT

A servo control system provides adaptive compensation for a variety of tracking and seek problems found in disk drives. The servo control system is ideally implemented in digital form for accuracy, speed and compactness. A first embodiment includes two modes, a tracking (or position) mode and a seek (or velocity) mode, each mode employing a variety of compensation functions. A second embodiment includes a single comprehensive control system which functions during both tracking and seek operations.

REFERENCE TO RELATED APPLICATIONS

The present application is a U.S. national phase application ofPCT/US92/06602, filed Sep. 17, 1991, which is a continuation-in-part(CIP) of U.S. patent application Ser. No. 07/583,972, filed Sep. 18,1990, now abandoned.

TECHNICAL FIELD

The present invention relates to servo control systems which may be usedin controlling the head positioning actuators in storage devices such asdisk drives. More specifically, the invention relates to digital servocontrol systems involving efficient implementations of tracking andseeking servo control methods.

BACKGROUND ART AND BACKGROUND OF THE INVENTION

Various servo control systems are known in the art. U.S. Pat. No.3,458,785 (Sordello) discloses an early example of a servo controlsystem employing quadrature signals for providing position and velocityinformation, the system having fine and coarse positioning controlalgorithms. U.S. Pat. No. 4,135,217 (Jacques et al.) discloses a systemwhich compensates for repeatable errors such as wobble of a disk, withstored "run-out" information being used to compensate for the errors.U.S. Pat. No. 4,412,161 (Cornaby) generally discloses a digitallyimplemented recursive servo control system. U.S. Pat. No. 4,486,797(Workman) discloses a servo control system in which a preprogrammedvelocity profile is used. U.S. Pat. No. 4,783,705 (Moon et al.)discloses an embedded sector servo system divided into separate trackand seek control systems, the system including an automatic gain controlfunction. U.S. Pat. No. 4,788,608 (Tsujisawa) discloses a control systemfor positioning read/write heads over a non-circular track, by usingharmonics of the rotation period of the disk. U.S. Pat. No. 4,835,632(Shih et al.) discloses a servo control system having different samplingand control frequencies for tracking and seek operations, the systemapparently scaling or normalizing certain values during operation. U.S.Pat. No. 4,835,633 (Edel et al.) discloses a servo control systeminvolving values calibrated for voice coil motor acceleration as afunction of radial position using a polynomial curve fit.

U.S. Pat. No. 4,879,612 (Freeze et al.) discloses a servo control systemclaiming a purely digital seek mode but a hybrid tracking mode, thesystem using track identity information and sample testing to reduceerrors. U.S. Pat. No. 4,890,172 (Watt et al.) discloses an automaticgain calibration system for a disk drive servo system. U.S. Pat. No.4,907,107 (Sakurai) discloses a low level circuit for generating signalscorresponding to sampled magnetic pulses. U.S. Pat. No. 4,914,644 (Chenet al.) discloses a servo control system including a model of coilcurrent involving comparison of a velocity error to a predeterminedvalue during long seeks, when the power amplifier is saturated. U.S.Pat. No. 4,914,725 (Belser et al.) discloses a servo control systemincluding a "piggy-back" construction including a fine positionercarried by a coarse positioner, the dynamic range of the fine positionerbeing increased momentarily at the time of track capture, this patentnaming a common inventor with an inventor of the present patentapplication. U.S. Pat. No. 4,942,564 (Hofer et al.) discloses a gaincompensation system in which a test signal is introduced to determinethe system's response for comparison to a previously stored value. U.S.Pat. No. 4,954,909 (Sengoku) discloses a system for determining movementof a recording head, especially for determining when it has hit a disksurface. U.S. Pat. No. 5,038,333 (Chow et al.) discloses a track-seekingapparatus having a track crossing detector for providing positioninformation, this patent naming an inventor who is also a named inventorin the present patent application.

European Patent Application 0,390,467 (Ogino) discloses a digital servocontrol system in which certain variables are not calculated when anerror value is substantially zero. Japanese Patent Document 63-316380discloses a control system having a plurality of servo bit sampleperiods.

These patents, as well as any documents cited in this patentapplication, are incorporated herein by reference in their entirety.

In the field of magnetic disk drives, servo systems are required toaccurately position read/write heads over a given substantially circulartrack on the disk, as well as efficiently move the heads from above onetrack to a new desired position above a second track. It is desirable inthe "tracking" (or "position") mode that the position of the read/writeheads with respect to the track be maintained in the proper centerposition above the track. Similarly, when moving the heads from onetrack to another in the "seek" (or "velocity") mode, it is desirablethat the heads become stably centered above the destination track assoon as possible. These goals must be met even in the presence ofanomalies such as changes to or occurrences in the disk drive mechanism,or deviations from perfect circularity in the tracks. These anomaliesmay involve aging, temperature changes, changes in orientation of thedisk drive, humidity, shock and vibration. Specific performanceobjectives embodying these broad goals include reduction of trackingerror (expressed as a percentage of the radial separation of thetracks), average access time (reflecting the average time required tomove the read heads to a destination track in a typical read operationand provide the outside world with data from the disk), and bit errorrate (BER, in bits per 10^(n)).

Meeting these goals allows the disk drive's performance to be improved.If these goals are not met, misalignment or delayed alignment of theread/write heads with respect to the tracks cause increases inread/write errors and a slowdown in read or write operations.

Further objectives include reduction of the size of the disk driveitself. As recording densities improve, a hindering factor in reducingoverall disk drive physical dimensions may be the size of the circuitryrequired to implement the servo system. Therefore, there is a need toprovide a high-performance, reliable, and fast servo control systemwhich is both economic and compact.

More specifically, various schemes are known today for placing positioninformation on the surface of disks so that the position of the headover the disk can be determined. This position information, commonlyreferred to as servo information, may in some schemes occupy an entiresurface of one disk. This "dedicated" scheme has the disadvantage thatit occupies a substantial portion of the total area allotted for usefulinformation. For example, in a two-disk system, there are four surfaces.If one of the surfaces is dedicated to servo information, at least 25%of the otherwise useable surface of the disks is used, purely forpositioning information. As the physical size of disks becomes smallerwith the progress of technology, dedication of an entire disk surface toservo information becomes increasingly unacceptable.

In a second scheme, called an "embedded" servo design, the servoinformation is recorded on every disk surface along with the user dataareas. Although embedded servo designs have increased the servo areaefficiency over dedicated schemes, known embedded servo schemes havetypically involved complex servo data fields, which has forced largeramounts of disk area to be allocated to the positioning information. Asthe amount of area dedicated to positioning information increases,either the amount of useable data decreases, or the density of useabledata storage increases, both of which are undesirable. Therefore, thereis a need in the art to provide a servo control system in which there isno surface dedicated entirely to servo control information, and in whichthe area allocated to servo control information is reduced to a minimumwhile maintaining optimum seeking and tracking efficiency.

Known servo systems involve analog circuitry. Use of analog circuitry inservo systems can involve reduced tolerance to noise. Clearly,noise-contaminated signals cause degradation in system performance, sothat a commensurate reduction in noise-intolerant components isdesirable. Therefore, there is a need in the art to provide a totallydigitally-implemented servo control system.

The disadvantages of analog or hybrid circuits are not limited to noiseintolerance. Analog or hybrid circuits have typically been larger insize than purely digital circuits. Furthermore, at least partially dueto the attempt to partially overcome noise-related problems, analog orhybrid servo control systems have required more than one power supply tobe present. Therefore, design objectives such as miniaturization andreduction in the number and output requirements of power supplies,further point out a need for a totally digitally-implemented servocontrol system.

There are known control systems which are partially implemented usingdigital hardware. However, many of these systems have several parameterswhich are frozen at the time of system design, so that the parametersmust be selected to be the most acceptable compromise for alloperations. For example, the parameters in fixed-parameter systems mustbe chosen so as to function during both seeking operations and duringtracking operations. This compromise degrades performance in eachoperation, as compared to a system optimized for a tracking operationand optimized separately for a seeking operation. Therefore, there is aneed in the art to provide a servo system in which servo parameters maybe adaptively changed in accordance with the operation currently beingexecuted by the servo controller.

On a matter related to operation-specific parameter optimization, it isknown that age, temperature, humidity, and other environmental factorscause deterioration in system performance. Freezing system parameters atthe time of design limits the disk drive's long-term performance underthese changing conditions. Therefore, there is a need in the art toprovide a servo system in which parameters may be adaptively calibratedover time, as these environmental changes occur.

DISCLOSURE OF INVENTION

The present invention provides a highly adaptive, responsive,comprehensive servo control system allowing stable tracking andefficient seeking in the presence of a variety of structural anomaliesand adverse occurrences such as temperature variation, change inphysical orientation, shock, vibration, and humidity.

The invention provides adaptive compensation for a variety of trackingand seek problems and is ideally implemented in digital form foraccuracy and speed. A controlled entity such as actuator coil current isdetermined by a control effort signal output from a digital signalprocessor (DSP) or microcontroller.

In a first embodiment, the DSP may operate in at least a tracking modeor a seek mode. Especially in the first embodiment, repeatable runoutwhich is a function of the angular position of the heads with respect tothe rotating disks, and bias which is a function of the radial positionof the heads, are adaptively compensated. Further, a one-track seekcontroller is specially provided within the tracking mode for seeking anadjacent track. A DC offset compensator is provided to correct foroffsets in an input position error sensor. In the seek mode, a referencevelocity deceleration compensation function is performed to optimizeseek and access time for the particular disk drive, this function alsobeing adaptively controlled. Both the tracking servo controller and theseek servo controller may be influenced by a bandwidth compensationfunction. Compensation for this variety of anomalies is preferablyperformed in a totally digital manner, speeding operation andsimplifying modification of the servo controller's design andparameters.

According to the present invention, especially a second embodimentthereof, an embedded servo design is provided, the servo field occupyinga minimal amount of disk surface space. Content of the servo fieldprovides a maximum amount of information to work with a full state-spaceobserver in the servo system. The observer provides predicted statevalues to allow optimum tracking and seek performance. The servo systemis implemented in totally digital form, using firmware to implement aset of functions having dynamically scalable parameters and adaptivelycalibrated compensation functions. According to the present invention,the digital implementation provides a disk drive with an extremely smallform factor, requiring only a single (for example, 5 volt) power supplywhich consumes a minimal amount of power. Dynamically scaled servosystem parameters optimize system performance during successive portionsof a seek operation and during close tracking mode. Further, variouscompensation schemes within the firmware-based servo controller maintainoptimum servo performance despite environmental changes and componentdegradation. Moreover, the compact storage of digital servo informationon the disk, and the intelligent prediction models in the servo controlsystem, allow the system to quickly adapt and compensate forunpredictable occurrences, such as vibration and shock, thus making theadaptation and compensation time imperceptible or barely perceptible tothe user. In particular, the second embodiment of the present inventionallows 120 MB (formatted) storage on four 3.5-inch diameter disksurfaces (two disks), in a package measuring less than 4 inches wide,1.0 inches high, and 5.75 inches deep.

Other features and advantages of the present invention are apparent fromthe following Detailed Description of the Preferred Embodiments and theaccompanying drawing figures.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention is better understood by reading the following DetailedDescription of the Preferred Embodiments with reference to theaccompanying drawing figures, in which like reference numerals refer tolike elements throughout, and in which:

FIG. 1A is a schematic diagram illustrating a preferred embodiment ofthe servo system according to the present invention;

FIG. 1B is a hardware block diagram of the preferred digital servosystem illustrated schematically in FIG. 1A;

FIG. 2 illustrates schematically a tracking servo controller formaintaining read/write heads over a given track in a first embodiment ofthe invention;

FIG. 3 illustrates schematically a seek servo controller for efficientlymoving the read/write heads from a given location to closely approach adestination track in the first embodiment of the invention;

FIG. 4 is a flow chart schematically illustrating the calibration andoperational modes provided in the first embodiment of the servo controlsystem;

FIG. 5A schematically illustrates a portion of the input position errorsensor 130 from FIG. 1A;

FIG. 5B illustrates a dibit diagram and a timing diagram useful inexplaining the input position error sensor of FIG. 5A;

FIG. 6 illustrates details of the tracking compensation block 1228 ofFIG. 2;

FIGS. 7 a,b,c,d, and e are timing diagrams useful in illustrating theoperation of the one-track seek controller 1238 from FIG. 2;

FIG. 8 illustrates an embodiment of the repeatable runout compensatorshown in FIGS. 2 and 3.

FIG. 9 illustrates in greater detail the seek compensation block 328from FIG. 3;

FIGS. 10 a,b,c are timing diagrams useful in illustrating the operationof the reference velocity deceleration compensator 346 of FIG. 3;

FIG. 11 is a plant block diagram including a mathematical model of anamplifier and actuator;

FIG. 12 is a high-level flow diagram showing major functional blocks inthe DSP control system according to a second embodiment of the presentinvention.

FIG. 13 is a high-level flow chart indicating the sequential executionof control routines, post processing routines, command routines, andstatus transmissions normally encountered in a firmware main processingloop according to the second embodiment.

FIG. 14 illustrates the timing of various digital signal processor DSPoperations during a typical sequence of servo field sample periods.

FIG. 15 illustrates various operational characteristics which arepresent during successive periods entered during a typical seekoperation.

FIG. 16 illustrates a typical servo field with an associated analogsignal derived from an exemplary track.

FIG. 17A illustrates the offset correction block, including the offsetcorrection calibration block.

FIG. 17B illustrates the arrangement of dibits on the same side of trackcenter, for use in determining offset.

FIG. 18A shows the high gain normalization block, the low gainnormalization block with associated calibration block, and an associatedswitching function.

FIG. 18B illustrates the measurements and computations involved incalibrating the low gain normalization block.

FIG. 19 illustrates the transfer function of the inverse nonlinearitycompensation block.

FIG. 20A illustrates the linear range extender and the sample integritytester in greater detail.

FIG. 20B illustrates in greater detail the waveforms involved incalculating and generating the fine dynamic window in FIG. 2D.

FIG. 20C illustrates the generation of the linear extended positionalerror signal PES_(LE) from its integer and linearly compensatedfractional components.

FIG. 21A illustrates the power amplifier voltage saturation model usedduring initial portions of seeks to model nonlinear characteristics ofthe plant, the model being shown in conjunction with associatedswitching functions to enhance operation of the full state observer.

FIG. 21B illustrates waveforms useful in explaining the use of the poweramplifier voltage saturation model of FIG. 21A.

FIG. 22 illustrates schematically a preferred implementation of a fullstate observer, including a processing time delay calculation portionand a low frequency integrator.

FIG. 23A is a timing diagram illustrating a typical positional errorsignal useful for explaining the operation of the window detector blockin FIG. 2;

FIG. 23B illustrates a basic embodiment of a settling window detectorused for detecting whether a given parameter has stably settled towithin a given tolerance of a destination value.

FIG. 23C illustrates schematically a more sophisticated settling windowdetector including multiple tests, this settling window detectorespecially useful in generating a write window.

FIG. 24 illustrates a preferred integral controller, including a statefeedback controller, intermediate seek length compensator, single trackfeedforward controller, integral control effort block with associatedbias feedforward controller.

FIG. 25 illustrates in greater detail the transfer function used withinthe state feedback controller in FIG. 24.

FIG. 26A illustrates waveforms generated by the single track feedforwardcontroller.

FIG. 26B schematically illustrates functional blocks present within thesingle track seek feedforward controller.

FIG. 27 illustrates a bias compensation function waveform derived duringcalibration for the bias feedforward controller.

FIG. 28A illustrates in greater detail the intermediate seek lengthcompensator.

FIG. 28B illustrates waveforms which demonstrate the saturation problemexperienced in known controllers during seeks of intermediate length.

FIG. 28C illustrates the waveforms which overcome the problems of knowncontrollers in intermediate length seeks, by introducing a clampingperiod at the end of an acceleration pulse which reduces overshoot.

FIG. 29 is a high-level flow chart indicating the preferred manner inwhich the DSP determines when a recalibration of a correction orcompensation block is needed.

FIG. 30 illustrates schematically the ability of the DSP to dynamicallyscale parameters used in functional blocks in the full state observerand integral controller, selectively using coarse, mid, and fineresolution parameter sets based on positional error measurements andvelocity states.

In the following Detailed Description of the Preferred Embodiments, theinvention is described with reference to first and second embodiments.FIGS. 1A, 1B, 5A, 5B, 11 and 23A apply equally to both embodiments.FIGS. 2-4 and 6-10 apply especially to the first embodiment. FIGS. 12-30apply especially to the second embodiment. However, it is understoodthat teachings from one embodiment may readily be applied to the other.

First Embodiment

FIGS. 2 and 3 are the highest level functional diagrams for the firstembodiment, FIG. 4 providing the highest level flow chart. FIGS. 5A-10detail certain functions performed in FIGS. 2, 3, or 4.

Second Embodiment

FIG. 12 is the highest level functional diagram for the secondembodiment, with FIGS. 13 and 14 being the highest level flow diagrams.FIGS. 14-30 detail certain functions performed in FIGS. 12, 13, or 14.

BEST MODES FOR CARRYING OUT THE INVENTION

In describing preferred embodiments of the present invention illustratedin the drawings, specific terminology is employed for the sake ofclarity. However, the invention is not intended to be limited to thespecific terminology so selected, and it is to be understood that eachspecific element includes all technical equivalents which operate in asimilar manner to accomplish a similar purpose. Certain elements may beomitted from the drawings and text for clarity or brevity, as they havestructures and functions known to those skilled in the art and arereadily capable of implementation by such individuals; given thefollowing description and accompanying drawing figures, those skilled inthe art are readily capable of implementing the present invention usingknowledged possessed by or readily available to them.

The present specification is directed to a digitally servo controlsystem for a storage medium such as a magnetic disk drive. However, manyof the functions described and claimed herein may readily be applied todevices other than magnetic disk drives, such as, for example, opticaldisk drives and other devices. In short, the many features of theinvention are applicable to a variety of fields, not limited to thosespecifically mentioned in this specification.

As is known in the art, a typical disk drive includes one or more diskson which information may be recorded. The disks include a plurality ofconcentric tracks on which the information is recorded, usually indigital form. Ideally, the tracks are perfectly circular and concentricwith the axis of rotation of the disks. However, in practice, the shapeof the tracks may vary from the ideal circular shape so that all pointson the track are not equidistant from the axis of rotation of the disk.

A typical disk drive further includes read/write heads positioned nearthe end of an actuator arm. The heads are controlled to move along apath generally (though not usually exactly) along a radial segmentprojecting from the disks' axis of rotation. The read/write heads may bepositioned above any given circular track on the disks. Any deformationof a track makes it more difficult for the head to be continuouslypositioned over the track as the disks rotate. As seen from a perfectlystationery read/write head, a deformed track would appear to "oscillate"back and forth along a radial line of the disk, as the disks rotate. Inorder to follow this deformed track accurately, the read/write headsmust be controlled with great sensitivity to maintain them in the properposition over the desired track.

The difficulty in moving and positioning the read/write heads isexacerbated by physical shock to the disk drive, as well as mechanicalvibrations caused by the disk drive's spindle motor or other vibratingcomponents, and by inertial forces of the actuator mechanism holding theread/write heads. The control problem is complicated by the fact that inmost systems, the head positioning actuator itself rotates about an axisbeyond the outer diameter of the disks, so that the heads do nottraverse a purely radial path over the surface of the disks. Instead,the heads' position above the various tracks is a non-linear function ofthe rotational position of the head positioning actuator about its ownaxis.

Typically, the position of the heads is controlled through theinteraction of a set of permanent magnets and a "voice coil" disposed onthe head positioning actuator. Controlled functions of current are sentthrough the actuator coil to create magnetic fields which interact withthose of the permanent magnets, inducing torque to rotationally displacethe head positioning actuator about its axis. Primary control of theposition of the heads over the tracks of the magnetic disk drive is thusaccomplished through control of the current passing through theactuator's coil. The present invention may also be applied in systemsusing other means of controlling the positioning the head, includingthose implementations using, for example, torque motors or servo motors.

The present invention provides a compact, adaptive, responsive servocontrol mechanism for accurately maintaining the position of read/writeheads over a given track on a recording medium; it further provides forquickly moving the heads to a destination track and stably positioningthem there. These advantages are provided even in the presence of theabove anomalies of the disk, head positioning actuator, and otherelectrical or mechanical components of the disk drive.

As used in this specification, the term "anomalies" refers generally toquantities which vary from the normal or ideal. The term refers not onlyto "defects" such as misshapen tracks or traumatic events such asphysical shock; the term also encompasses expected variation of someparameter in a properly functioning disk drive, such as variation ofbias as a function of the heads' position on the disks. Thus, when it issaid that the present servo system compensates for anomalies, itencompasses correction for not only defective or undesirable features,but also for expected deviations variations present in totally "normal"disk drives.

FIG. 1A is a schematic illustration of the servo system according to apreferred embodiment. Some of the blocks shown in FIG. 1A correspond tophysical elements on a printed circuit board located in the disk drive,whereas other elements are shown as functional blocks for purposes ofillustration. It is to be understood that the present invention may beimplemented using any suitable combination of hardware and software,with the functions described herein being suitably allocated to hardwareand software elements. Although a particular preferred embodimentinvolving digital control with assembly language implementation isdescribed in greater detail below, the scope of the invention is not tobe limited to any particular embodiment.

Referring to FIG. 1A, a master controller 102, or simply "master", isshown operatively connected to control the spindle motor 106 and thedata channel 108. The master 102 may be any master controller known inthe art such as an INTEL 8032. Usually, the master is a microprocessordisposed on the same printed circuit board as the servo system. Themaster 102 acts as a supervisor for the disk drive, controlling thespeed of the spindle motor 106. It also controls the flow of data in thedata channel 108 between the host 104 (typically a computer system inwhich the disk drive is installed) and the read/write heads. Finally, itissues instructions to, and receiving status signals from, the servoloop 110-132. The master 102 also provides communication between thehost 104 and a digital signal processor (DSP) 110 in the servo loop. Forbrevity, the present specification describes the invention in terms of aDSP, although it is understood that other implementations, such asmicrocontrollers, may also be used.

Elements 110-132 generally indicate the servo loop to which the presentinvention is directed. The digital signal processor 110 is shownconnected in a loop with a series-connect digital to analog convertor(DAC) 114, a power amplifier 116, the actuator 118, a summer 126, asampling switch 128, an input position sensor 130, and an analog todigital convertor (ADC) 132 which in turn feeds the digital signalprocessor 110. Elements 114-132 are typically called the "plant",denoting the system which is controlled by the digital servo controlsystem in DSP 110.

The DSP 110 is advantageously implemented by a single-chip processor,such as the TMS320C15, available from Texas Instruments, Inc., Dallas,Tex. The TMS320C15 includes 4K internal read-only memory (ROM) and 25616-bit words of random access memory (RAM). In the first embodiment, theDSP executes approximately 2.5K ROM of assembly language instructionswhich implement the servo algorithms described in this specification. Inthe second embodiment, the assembly language occupies approximately 4KROM. Given the known structure and function of the TMS320C15 and thedetailed description of the algorithms provided below and in theaccompanying drawing figures, those skilled in the art are readilycapable of implementing the algorithms in a disk drive or otherapparatus requiring dynamic positioning control. For example,information such as coefficients needed for compensation functions maybe stored in the DSP's internal RAM, or may be downloaded from themaster, or may be loaded from special tracks on the disks.

The preferred servo system illustrated by elements 110-132 is thussubstantially governed by code within the DSP 110. However, it is to beunderstood that the functions implemented in code may be partially ortotally implemented in hardware while remaining within the scope of theinvention.

FIGS. 2 and 3 illustrate functions performed within the DSP 110 (FIG.1A). FIG. 2 illustrates the tracking servo controller which is adaptedto cause the heads to follow a given track once they are positionedabove it; FIG. 3 illustrates the seek servo controller, adapted toquickly move the heads from an initial position to a destination trackto allow the tracking servo controller to stably position them.

In the first embodiment, the functions performed in each of the blocksin FIGS. 2 and 3 are implemented in DSP assembly language software;FIGS. 2 and 3 are presented in lieu of flow charts to illustrate thecompensation and control functions which occur concurrently duringoperation. The functional blocks may each be implemented as blocks ofassembly language code performing functions specified in thisspecification, with the interconnecting pathways indicating passage ofdata via registers or memory locations for use by executable code fromthe different blocks. FIGS. 2 and 3 may thus be considered analogues toconventional flow charts. Of course, illustration of certain functionsas being within a single block does not imply that the correspondingassembly language code must be in a contiguous block in memory; the codemay be organized however design constraints or programmer preferencedictate.

It lies within the contemplation of the invention that some or all ofthe functional blocks may be implemented in hardware if speed or someother design constraint demands it. The capability of implementing thetracking servo controller and the seek servo controller in eitherhardware or software is demonstrated by the nature of FIGS. 2 and 3:although the preferred embodiment is in software, the block diagrams ofFIGS. 2 and 3 allow those skilled in the art to implement theirfunctions in appropriate corresponding hardware elements.

Referring again to FIG. 1A, the schematic illustration of the servo loopmay be described as follows. Based on algorithms implemented with in theDSP, the DSP provides a control effort function U(k) to the digital toanalog converter 114. In DAC 114, the digital control effort output U(k)of the DSP is converted to an analog signal by a dual 8-bit digital toanalog converter which provides an equivalent 14-bit resolution. Thedual 8-bit DAC's may be electronically combined by a single operationalamplifier to achieve DC voltage shift, provide the desired gain, andminimize the effect of the DAC offset voltage. This implementationprovides a large dynamic range in converting the control effort U(k) tothe actuator coil current which ultimately controls the position of theheads. Preferably, the analog control effort is processed by a notchfilter to remove frequency content in the region of the most significantmechanical resonance mode(s), thus minimizing excitation and preventinginstability.

In those implementations using a voice coil to control actuatorposition, the analog version of the control effort is amplified by thepower amplifier 116. The power amplifier 116 operates intransconductance mode, in which a voltage is converted to a currentwhich is sent through the coil of actuator 118 to control thedisplacement of the head positioning actuator and the read/write headsat 120. The power amplifier 116 should be designed to minimize theeffect of the coil inductive time constant when operating in its linearregion.

In those implementations not using a voice coil to control actuatorposition, operation of the power amplifier or corresponding element iscorrespondingly modified in accordance with principles known to thoseskilled in the art. For example, if a voltage-controlled element is usedinstead of a voice coil, no transconductance transformation would benecessary.

The head position 120 with respect to track position 124 isschematically illustrated by inputting them to the summing device 126.Summing device 126 is schematically illustrated as receiving at itsnon-inverting input the location of the center of a desired track, andreceiving at its inverting input the position of the heads. The summingdevice 126 outputs the difference between these two positions, an analogindication of error head positioning.

The error signal from the summing device 126 is periodically sampled bythe sampling switch 128. Sampling switch 128 provides the sample errorsignal to the position sensor 130. Sensor 130 performs the low levelfunctions conventionally performed in disk drives to distinguish thedegree to which the heads are following a given track. Conventionally,this sensing has involved a detection of a first pulse on (for example)the left side of the track during an "A" time frame, and the subsequentdetection of a second pulse on the opposite side of the track during a"B" time frame. This sequential detection of the A and B pulses yields apair of pulses. The A pulse and B pulse are of the same magnitude if thehead is properly positioned in the center of the track. However, whenthe head is not properly centered, the A bit and the B bit havediffering magnitudes with the A-B difference having a polarity andmagnitude indicating the direction and distance of the heads from thecenter position.

According to the invention, the track identification process detectssynchronizing timing pulses followed by gray codes identifying eachparticular track. The gray code is converted to binary (integer) formfor identifying the particular track. This integer, along with theinformation derived from the A and B dibit pulses, allows the positionof the heads to be determined anywhere within the portion of the diskswhich are so formatted.

A high/low gain signal is generated by the digital signal processor 110and is fed back along path 134 to the sensor block 130. The high/lowgain signal reflects how closely the heads are stably following aparticular track. The method by which the DSP determines how stably andhow closely the heads are following a particular track is explainedbelow, with respect to the window detector explained with reference toFIGS. 2 and 23A. The adjustable gain feature in the sensor 130 isadapted to minimize quantization errors, and reduces complexity andcomponent count for reasons of economy. The sensor is placed in a lowgain mode when the head has not yet accurately settled onto the centerof the track; this low gain mode allows sensing the error to within plusor minus half a track width. The sensor is switched to high gain modewhen the head has settled on the center of a track within an error of(for example) plus or minus eight percent of a track width. The highgain allows greater resolution at the smaller distance measurementsencountered as the heads closely follow their track. Changing the sensorfrom low gain to high gain mode does not change overall bandwidth of theloop; rather, an increase in sensor gain is accompanied by acommensurate decrease in compensation gain within seek and trackingcompensators in the DSP.

Analog to digital converter 132 schematically indicates the conversionof the sensed error signal into a binary number indicating thefractional positional error signal PES_(F). The integer positional errorsignal PES_(I), already being in binary form, is directly input to theDSP from the sensor 130. These two binary numbers are input to thedigital signal processor 110 for processing in accordance with the servoalgorithms described below, with special reference to FIGS. 2 and 3.

Referring now to FIG. 1B, a hardware block diagram equivalent to theschematic FIG. 1A is provided. Many of the blocks shown in schematicform in FIG. 1A are analogues of blocks shown in FIG. 1B. For example,sensor block 130, analog-to-digital converter 132, digital signalprocessor 110, digital-to-analog converter 114, power amplifier 116,actuator 118, and master controller 102 are present in both diagrams.However, the schematic indication of the head position 120 and the trackposition 124 has been more faithfully rendered in FIG. 1B by simplyindicating an output (for example, a coil current) provided to a anelement (such as a coil) in actuator 118, and a separate analog datainput along path 502 to the sensor 130. The interface between thedigital signal processor 110 and master controller 102 is shownspecifically to indicate a command register 162 which receives commandsfrom the master controller for presentation to the DSP. Similarly, astatus register 160 is provided for storage of status signals from theDSP for presentation to the master controller. Details of sensor 130 areprovided in FIG. 5A, and details of the digital-to-analog converter areprovided as follows.

The digital-to-analog converter 114 comprises a more significant DAC 142and a less significant DAC 144 which receive the control effort signalU(k) from the DSP. Scaling blocks 146 and 148 scale the respectiveoutputs of DAC 142 and 144 to reflect their relative significance. Thescaling blocks provide the mutually scaled DAC values to a summationdevice 150 which combines them into a single analog signal indicative ofthe desired control effort. The summation device 150 may advantageouslycomprise an operational amplifier configured in a manner known to thoseskilled in the art. A notch filter 152 eliminates unwanted resonancebefore the analog control effort signal is provided to the poweramplifier 116.

Referring now to FIG. 2, a schematic illustration of the tracking servocontroller is provided. In the first embodiment of the invention, eachof the illustrated blocks is implemented in DSP assembly language code.However, as stated generally above, it is to be understood that some orall of the blocks may be implemented in firmware or hardware in responseto design constraints or designer choice.

Referring now to the specific elements in FIG. 2, the two components ofthe positional error signal enter on pathways 1202 and 1204. The graycode representation of the track ID integer positional error, PES_(I),is input to a sample integrity test block 1208. Similarly, thefractional positional error signal PES_(F) derived from the dibit codingwithin the given track passes through an automatic gain control (AGC)1206 before being input to the sample integrity test 1208. The AGC 1206also feeds the DC input offset compensator 1212.

Based on a predicted PES signal PES# on path 1244, the sample integritytest block 1208 provides respective signals PES_(I) ' and PES_(F) ' atits outputs only when the input signals PES_(I) and PES_(F) lie within arange of reasonable possibilities, based on past readings, as determinedby a predictive observer block 1242.

Fractional and integer signals PES_(F) ' and PES_(I) ' which are noteliminated by the sample integrity test block are combined in the linearrange extension block 1210. The combined (fractional plus integer)signal is input to the non-inverting input of a summation device 1214.The summation device 1214 receives at its inverting input the output ofthe DC input offset compensator 1212. The summation device 1214 outputsthe final positional error signal PES to a node 1216, the final PESsignal being used by a statistical monitor 1218, window detectors 1222,a K_(T) multiplier 1224 at the input of a tracking compensation block1228, observer block 1242, a one-track seek controller 1238, and a seekand tracking bandwidth compensation block 1250.

Multiplier block 1224 is provided to multiply the positional errorsignal PES in node 1216 by a value K_(T) produced by tracking and seekservo bandwidth compensation block 1250. Multiplier 1224 provides thescaled PES value to the tracking compensation block 1228.

The tracking compensation block 1228 also receives inputs from thewindow detector 1222, and from a state initial condition calculationblock 1236. The tracking compensation block provides an output torepeatable runout compensation (RROC) feedforward block 1230 and to theDC bias compensation feedforward block 1232. The tracking compensationblock also produces an interim control effort signal u(k) for theobserver 1242 and bandwidth compensator 1250. The tracking compensationblock 1238 is described in greater detail below, with reference to FIG.6.

A summation device 1234 receives the interim control effort signal u(k)from the compensation block, but adjusts it by quantities received fromthe repeatable runout compensation feedforward block 1230, the DC biasfeedforward compensation block 1232, and (during one-track seeks) aone-track seek feedforward controller 1238. Operation of the one-trackseek feedforward block 1238 is described in greater detail below, andwith reference to FIG. 7. The summation device 1234 outputs the finalcontrol effort signal U_(T) (k) 1240 to digital to analog convertor 114(FIG. 1A).

The observer block 1242 receives the final PES signal on node 1216 andthe interim control effort output signal u(k) and uses them as a basisfor generating windows for screening noise-corrupted PES_(I) and PES_(F)signals. Particular outputs generated by observer 1242 are the PES#signal on path 1244 and the velocity signal VEL# on path 1246. Both ofthese signals are input to the state initial condition calculation block1236; only the PES# signal 1244 is input to the sample integrity textblock 1208.

The window detector 1222 produces the high-low sensor gain signal 134which is fed back to the sensor block 130 (FIG. 1A). Also, windowdetector 1222 outputs status information to the master along path 1226.Operation of the window detection block 1222 is described in greaterdetail below, with reference to FIG. 23A.

A statistical monitor block 1218 receives the final positioning errorsignal from node 1216, providing information to the master along path1220.

A more detailed description of the functioning of the blocks of FIG. 2are provided below, after the description of FIG. 4.

FIG. 3 illustrates schematically the functions performed by the seekservo controller.

The integer portion of the positional error signal PES_(I) is inputalong path 302, and the fractional PES_(F) along path 304, to a sampleintegrity tester, range extender, DC Offset compensator block 308performing generally the same functions as elements 1208, 1210, 1212(FIG. 2). Block 308 provides a combined PES signal to a seek observerblock 342.

Analogous to the tracking observer 1242 (FIG. 2), the seek observer 342may simply be a closed loop mathematical model of the entire servosystem, and may be implemented according to principles of modern controltheory known to those skilled in the art. Observer block 342 provides anestimated velocity signal VEL# to both the inverting input of summationdevice 322 and track capture detector 326. The observer block alsoprovides a positional error signal estimate PES# to reference velocitydeceleration compensation block 346, track capture detector 326, thesample integrity tester within 308, and the inverting input of summationdevice 314.

Requested track information is input along path 312 to non-invertinginput of a summing device 314. An inverting input of the summing device314 receives an estimate of the positional error signal PES# from theobserver block 342. The summing device 314 outputs a positional errorsignal to both a reference velocity generator 316 and a statisticalperformance analysis block 318. The statistical performance analysisblock 318 provides status information to the master along path 320.

The reference velocity generator 316 includes an absolute value block350 which receives the positional error signal. The absolute value ofthe positional error is input to a multiplier block 352 which receives adeceleration coefficient "a" along a path 348 generated by the referencevelocity deceleration compensation block 346, described below. Afterbeing multiplied by coefficient "a", the compensated positional errorsignal is input to a square root block 354 before being input to a signblock 356. The input quantity is multiplied by either +1 or -1,depending on the value of a signal passed from the absolute value block350 along a path 358. This arrangement ensures that the sign of thepositional error is not lost within the reference velocity generator316.

The output of the sign block 356 is the reference velocity VEL_(REF)which comprises the output of the entire reference velocity generator316. The reference velocity VEL_(REF) is input to the non-invertinginput of a summing device 322. Summing device 322 includes an invertinginput which receives an estimated velocity signal VEL# from the observerblock 342. The summation block 322 provides a velocity error signalERR_(VEL) to both the statistical performance analysis block 318 and toa multiplier 324. The velocity error signal ERR_(VEL) is multiplied by aconstant K_(S) which is generated by the tracking and seek servobandwidth compensator 1250 (FIG. 2).

Multiplier 324 provides a scaled velocity error to seek compensationblock 328, whose details are described below, with reference to FIG. 9.The seek compensation block 328 provides an interim control effortsignal u(k) to a summation device 334, the observer block 342, and thereference velocity deceleration compensation block 346.

In a manner similar to the tracking servo controller of FIG. 2, thesummation block 334 also receives feedforward compensation signals froma bias feedforward block 332 (compensating for anomalies which vary withthe radial position of the heads), and from repeatable runoutcompensation (RROC) feedforward block 330 (compensating for performanceanomalies which vary with the rotational position of the disks).Summation block 334 provides the final control effort signal U_(S) (k)which is the output of the entire seek servo controller implementedwithin the digital processor 110 (FIG. 1A) during a velocity mode seek.

The reference velocity deceleration compensation block 346 receives theinterim control effort signal u(k) from the seek compensation block 328and the positional error signal estimate PES#. It generates adeceleration (negative acceleration) gain signal "a" on path 348 whichis used in the multiplier 352 in the main data path of the referencevelocity generator 316. The details of the reference velocitydeceleration compensation 346 are provided below, and with reference toFIG. 10.

More details of operation of the seek servo controller in FIG. 3 areprovided below, after discussion of FIG. 4.

The relationship of FIGS. 1A, 1B, 2, and 3 are better understood withreference to the operational flow chart presented in FIG. 4. FIG. 4 is aflow chart illustrating the operation of the servo loop of FIG. 1A.

After power up, illustrated at 402, control passes along a path 404 to asystem calibration block 406. At time 406, parameters used in servo loopadaptive functions are calibrated. For example, parameters arecalculated for the DC offset compensation block 1212, the repeatablerunout compensation feedforward block 1230, the DC bias compensationfeedforward block 1232, the one-track seek feedforward controller 1238,the seek and tracking bandwidth compensator 1250 (all in FIG. 2), andthe reference velocity deceleration compensator 346 (FIG. 3).

Calibration is performed, for example, by running the drive's plantthrough its ranges of pertinent positions, velocities, and movementswhile taking measurements indicating the amount of compensation needed.An internal profile may then be generated and stored, the profileshowing required compensation as a function of the pertinent independentvariable (such as radial position, rotational position of the disks, andso forth). Parameters (such as filter multipliers) are calculated andstored. Based on the internal profile generated during the calibrationmode, the appropriate compensation or control function uses thesecustomized parameters to optimize system performance.

After the values for these parameters have been calculated for a givenpower up, control passes along path 408 to the operational block,generally indicated as 410 (FIG. 4). Control may pass to either thetracking servo controller 412 (shown in FIG. 2) or to the seek servocontroller 414 (shown in FIG. 3). During operation, control may passbetween the tracking servo controller 412 and the seek servo controller414, as generally indicated by bi-directional path 416. Control passesback and forth along path 416. For example, when track capture detector326 determines that a seek has approached to a given distance from thedestination track with the heads travelling below a certain speed,control transfers from seek mode 414 to tracking mode 412. Conversely,when the master issues a command to move the heads away from a giventrack, control transfers from tracking mode 412 to seek mode 414.

The operational mode 410 may be exited for re-calibration, as generallyindicated by path 418 leading to calibration block 406. Scenarios inwhich the operational mode of the servo loop controller may betemporarily exited include detection of a reduction in performance ofany of the adaptive algorithms in blocks 1212, 1230, 1232, 1238, 1250 or346. Such degradation in performance may be caused by, for example,heating of components, reorientation of the computer in which the diskdrive is housed, or physical jarring or vibration. Alternatively, thecalibration may occur at selected periodic intervals, on the assumptionthat the adaptive parameters will vary as time passes, even if notraumatic event has occurred. Preferably, the operational mode 410 isnot exited during a critical read or write operation, but there-calibration is performed during a lull in activity demanded by themaster 102 (FIG. 1A).

Details of FIGS. 2, 3

The tracking and seek servo controllers of FIGS. 2 and 3, as well astheir interrelationship in FIG. 4, have been briefly described above.Now, a more detailed description of operation of certain functionalblocks in the servo controllers is presented.

FIG. 2.

First, details of operation of the tracking servo controller of FIG. 2are presented.

Automatic Gain Control (AGC) 1206

The fractional PES, PESF, is normalized by the AGC function. Thisalgorithm divides the sensor's difference signal (A-B) by the sum signal(A+B) to minimize effects of varying signal strengths due to sensorvariations over time, temperature, media uniformity, and so forth.

Sample Integrity Tester 1208

This algorithm determines if the integer and fractional position errorsignals for the current sample is realistic when compared to theobserver estimate and the physical constraints on the availableacceleration environment.

Specifically, the integer PES signal PES_(I) must fit within a windowwhich is equal to the observer positional estimate, plus or minus agiven number of tracks (e.g., 4). If PES_(I) passes the test, it is usedas the current sample; otherwise, the observer's positional estimatePES# is used for the PES. If the PES fails a given number of consecutivetimes (for example, twice), then it is assumed valid and is used for thePES.

The integrity of the fractional PES, PESF, is tested by using the twodata measurements of A-B and A+B. The separate measurements provide twoequations and two unknowns A, B. A and B are compared to verify that ifA is large then B is small and vice versa. If the test is passed, thenthe sample is used. Otherwise, the sample is assumed contaminated withnoise and the observer positional estimate PES# is used.

PES Linear Range Extension 1210

The fractional PES has a linear range of +/-0.5 tracks. During nominaltracking conditions, this is adequate; however, during track capture orafter external shocks, extended linear PES range is desirable. The rangeextension algorithm uses integer PES information which is equal to therequested track minus the current track, and multiplies this by thenumber of bits per track inherent in the fractional PES signal. Thisproduct is summed with the fractional PES after the fractional PES hasbeen correctly signed. The result in one embodiment is a linearlyextended PES with a range of +/- several tracks, the number of tracks ofextension being limited by the number of bits used to represent the PES.If the PES exceeds limits of the linearly extended range, then thecontroller automatically issues a seek to the desired track.

Tracking Compensator 1228

The preferred tracking compensator (presented in FIG. 6 and described ingreater detail below) includes a double phase lead compensator (twopoles and two zeros) and a low frequency integrator (one pole and onezero). The arrangement of the filters is mathematically configured suchthat the pure integrator is in parallel with the double phase leadcompensator. This arrangement allows switching of the integrator uponsettling within a specified tracking error.

State Initial Condition Calculation 1236

The phase lead compensator and integrator may be represented in a statespace representation, having initial conditions determined by stateinitial condition calculation block 1236. The compensation configurationis structured such that the states can be easily computed at the time oftrack capture from a velocity mode seek to cause the heads' velocity tobe decelerated so that they arrive at track center with zero velocity.

The integrator is initialized to zero. The DC bias feedforwardcompensator 1232 minimizes effects of bias forces; the integratorcontrols the residual of these bias forces. The initial state values forthe phase lead compensator are computed by solving filter differenceequations as follows. The head position and velocity are measured at thetrack capture transition point. This data is used to compute therequired coil current that causes the head to move to track center andhave zero velocity when it arrives. This is accomplished by using aNewtonian Kinematic Equation of motion. The phase lead filter's requiredoutput is now defined and the equation is solved for the state valuesthat will produce the desired coil current. Further details on thisalgorithm are provided below.

Window Detectors 1222

The PES signal is monitored to determine when the magnitude of the errorsignal has decayed to stably remain within a specific error window. Thegeneral concept of the algorithm for detecting when the error is withinthe window may be identical for all windows; therefore it will sufficeto describe window detection in general, without reference to a specificparameter being measured. Reference is made to FIG. 23A for a timingdiagram of a typical PES waveform approaching a suitable window.

The magnitude of the window has hysteresis to minimize the effects ofnoise from falsely tripping the window detector. The exiting of a windowis detected by the PES exceeding the upper bound of the limit plushysteresis. The entry into a window is detected when the PES magnitudeis less than or equal to the upper bound of the window minus thehysteresis. When the PES has remained within the window for a givenamount of time as may be measured by counting sectors (preferably halfthe natural period of the closed loop servo system), settling within thewindow is declared complete.

Tracking Observer 1242

The tracking observer provides a discrete model of the plant. The outputof the observer includes estimates of the heads' velocity and position.

Statistical Monitor 1218

The statistical monitor derives real time data on the performance of thetracking servo system relative to the PES signal. Several forms of dataare available for use in determining when the drive requiresre-calibration or simply for manufacturing process control. Minimum,maximum, mean and standard deviation of the PES and seek settling timesare provided. The number of times that the PES has exited each windowduring tracking is accumulated. Also, the number of bad samples isprovided.

DC Input Offset Compensator 1212

The DC input offset compensator block 1212 provides a compensationsignal to subtractor 1214 only when the sample integrity tester 1208selects the measured sample PES_(F) rather than the observer-generatedvalue PES#. As will be appreciated by those skilled in the art, no inputcompensation is needed if the value being input is not used by thesystem beyond the integrity tester itself. The path between sampleintegrity tester 1208 and the DC input offset compensation block 1212illustrates this disablement of the latter during freewheel mode. Theindication to the observer of the freewheel mode is schematicallyindicated by a "freewheel" path between the sample integrity tester 1208and the observer 1242.

The tracking controller can receive an offset value from the mastercontroller in order to improve the BER. The quantity received from themaster may be designed to correspond to a percentage of a trackdisplacement in a specified direction. The tracking controller sums thiswith the PES which results in a DC offset from the sensor's track centerindication.

One-Track Seek Feedforward Controller 1238

The single track seek is controlled by the tracking controller (FIG. 2)rather than the seek controller (FIG. 3), as it demands a quick accesstime because of its frequent use. A feedforward control profile assiststhe closed loop tracking servo system. The feedforward control pulseincludes an acceleration pulse and a deceleration pulse. Theacceleration pulse causes a rapid displacement towards the destinationfor the first portion of motion, corresponding to (for example) half atrack of displacement. The deceleration pulse prevents overshoot duringthe remainder of the motion.

The tracking integrator input is disabled during the motion to preventunnecessary overshoot, but is enabled at the destination track center.The remainder of the tracking controller is operational during thismotion to assist in compensating for inaccuracies of the feedforwardpulse amplitude and duration.

Additional details of the one-track seek controller are presented below,with special reference to FIG. 7.

FIG. 3

Details of operation of blocks within the seek servo controller of FIG.3 are now presented.

Reference Velocity Generator 316

The reference velocity generator emulates an optimal trajectory bysolving the Newtonian Kinematic equation:

    V.sub.f.sup.2 =V.sub.i.sup.2 +2*a*(x.sub.f -x.sub.i)

where

V_(f) =(final velocity)=0;

V_(i) =VEL_(REF) =Reference Velocity;

a=acceleration constant

x_(i) =current position

x_(f) =final position

Solving for VEL_(REF), VEL_(REF) =sqrt(2*d*(x_(f) -x_(i))), whered=deceleration constant, signed as determined in FIG. 3. Thedeceleration constant "d" is equivalent to the quantity "a" output bythe reference velocity deceleration compensator 346 in FIG. 3. Thisquantity is a calibrated value corresponding to the particular drive'sdeceleration capabilities.

In the illustrated embodiment, the constant deceleration resulting fromthis profile causes a constant coil current during the last portion ofthe seek trajectory profile. The deceleration constant mayadvantageously be defined such that approximately 75% of available coilcurrent is used, leaving 25% excess capacity for following during adisturbance.

Seek Compensator 328

The input to the compensator is the gain-adjusted velocity errorERR_(VEL). The seek compensator includes two paths, a gain path and acompensated path, which are illustrated in FIG. 9 and described ingreater detail below. A double phase lead compensator is in series withan integrator in the compensated path.

The gain path is selected during the acceleration portion of the seek.The phase lead compensator output is monitored during the accelerationphase until the output crosses through zero. The zero crossing occursprior to the intersection of the reference and feedback velocities dueto the inherent differentiating effects of the phase lead compensator.This anticipation assists in preventing overshoot of the referencevelocity profile.

The compensated path is switched into the loop in place of the gain pathat the zero crossing detection. However, the integrator state is firstinitialized to a value that provides identical coil current as the gainpath would have at the moment of transition, minimizing dynamictransients. The deceleration portion of the seek continues with thecompensated path until track capture conditions are satisfied.

Seek Observer 342

A current full state observer is implemented in the servo system. Avelocity estimate VEL# is used for feedback velocity; a positional errorestimate PES# is used for the sample integrity test and referencevelocity generation. Advantageously, the sample integrity tester causesthe observer to operate open loop during bad samples. This providessuperior performance, provided that the plant is accurately modelled,when compared to allowing a bad sample to affect the observer's input.

Track Capture Detector 326

The track capture detector determines when the velocity mode (governedby FIG. 3) should be exited and the tracking mode (governed by FIG. 2)should be entered. The preferred track capture algorithm requires that(1) the head position to be within +/- 1.0 track of the destination; and(2) the magnitude of the head velocity be less then 3.0 inches persecond in order for the control to be switched to tracking mode. Thevelocity mode controller remains active if either of these conditionsare not satisfied.

If the head is within the positional window but the velocity is stillexcessive, the reference velocity generator is dynamically modified tooperate as a linear function of tracks to go. This linear operationreplaces the preferred optimal parabolic function, as the parabolicfunction inherently has a significantly larger quantization associatedwith it when oscillating about a small number of tracks. This dynamicmodification reduces the magnitude of the limit cycle inherent in avelocity mode servo when attempting to track.

Zone Crossing Algorithm

Commonly, disks include zones of different data densities and samplingperiods, the different zones arranged at different radial locations.When crossing a zone boundary, the seek servo can encounterunpredictable and sometimes significant variations in the sample period.This variation in sample period can cause dramatic transients to occur,which could ultimately result in a head crash. The problem is present ifthe sample time is excessively long or short when compared to nominal.

To deal with this problem, the changes of sample periods across zoneboundaries is assumed to have a uniform distribution between 0 and 2nominal sample periods. A timer is used to time the sample period todetermine if the sample is excessively short. The minimal acceptablesample period is 0.5 of nominal. If the sample is unacceptably short,then the sample is ignored; otherwise, the controller differenceequations are computed. The controller and observer difference equationsare executed in the freewheel mode if the sample becomes unacceptablylong.

Statistical Monitor 318

The statistical monitor derives real time data on the performance of theseek servo system. The minimum, maximum, mean and standard deviation ofthe velocity error during velocity mode seeks are available statusinformation. Velocity mode seek time is compared to a polynomial curvewhich defines the required access time to verify that the seek servosystem is performing to specification. This is a valuable tool for usein process controls of the manufacturing line.

Additional Servo Algorithms

In addition to those functions shown in FIGS. 2 and 3, the preferredservo controller provides additional functions, presented here forcompleteness and as illustration of the DSP's ability to control theplant in special circumstances.

Head Load Algorithm

The head load algorithm initiates an open loop control effort (such as apulse or other suitably controlled waveform) which causes head motiontowards the OD (outside diameter), assuming the heads are parked at theID (inside diameter). If a given number of good samples (for example,ten) have not been detected after a predetermined period of time (forexample, 10 msec), the magnitude of the open loop pulse is increased.This process is repeated until good samples are detected or themagnitude of the open loop pulse exceeds a maximum value (for example,100 mA). If the magnitude exceeds the maximum, a failure to load headsis reported to the master controller. If ten consecutive good samplesare detected, a closed loop seek is initiated to a calibration track.

Head Park Algorithm

The head park algorithm involves seeking towards the ID at a low coastvelocity until track ID's remain unchanged (indicating that the head isagainst the stop) or until samples are absent. When the samples areabsent, an open loop bias current is supplied to the power amplifier andthe head load is completed.

Dynamically Calibrated Compensation and Control Functions

Several of the compensation and control functions in FIGS. 2 and 3 areinitially calibrated upon power up, and then adaptively calibratedduring operation, either periodically or when performance monitoringindicates a calibration is necessary. Details of certain compensationand control functions in FIGS. 2 and 3 are now presented.

D.C. Bias Compensator 1232

A DC Bias Calibration Algorithm (DCBCA) corrects for electrical andmechanical bias forces acting on the actuator which are functions of thehead's radial position on the disks. Electrical bias forces can resultfrom voltage and current offsets in the electrical circuitry. Mechanicalbias is typically due to the flex cable.

The DCBCA is invoked at each power on of the disk drive. The servosystem seeks the outer diameter of the disk (OD) and measures theaverage control effort required at this radial position. Multiple seeks(typically 10) are performed, each of which involves measurement of theaverage bias force. The measurements result in two vectors of data. Aleast mean square (LMS) algorithm is performed on the data in order toderive a mathematical model of a straight line equation that fits thedata such that the least mean square error criterion is satisfied.

The straight line model is continually used by the tracking and seekservo system as a feedforward signal, which is a function of the headradial position.

In operation after the initial power up calibration, the DSP continuallymonitors the DC control effort required from the tracking servo systemand determines if re-calibration of the straight line is necessary.

D.C. Input Offset Compensation 1212

This algorithm compensates for DC offsets inherent at the input positionerror sensor 130.

Calibration of this compensator uses offset calibration tracks locatedat the ID and or OD of the disk. The dibit pattern of these tracksdeviate from the normal dibit pattern. Approximately 10% of the offsetsamples per revolution have the A and B dibits servowritten such thatthe A and B analog signals behave identically, in contrast to therequired opposite behavior for tracking. Normally, when the heads arecentered on the track, A=B; when they are off center in one direction,A>B, and in the other, A<B. The difference A-B equals the positionalerror (PES).

By allowing a small percentage of the A and B dibit pairs to behaveidentically in a predefined timing arrangement, the servo systemsatisfactorily follows the track by computing the control effort on thenormal samples. The dibits at the offset sample should behaveidentically such that when on track center A=B, when off track in onedirection A=B and when off in the other direction A=B. The difference(A-B) at the offset sample equals the total input offset of the sensorsystem. This input offset measurement is averaged over multiple samplesand revolutions. The average offset is subtracted from the PES to cancelout the sensor offsets.

Repeatable Runout Compensator 1230, 330 (RROC)

Repeatable runout compensation functions are believed to be performed inaccordance with, for example, U.S. Pat. No. 4,788,608 (Tsujisawa), U.S.Pat. No. 4,135,217 (Jacques et al.), and U.S. Pat. No. 3,458,785(Sordello), all of which are incorporated herein by reference.

In the illustrated embodiment, calibration of this compensator involvesgeneration of a profile synchronous with the disk rotation which isequal to the average control effort at each sampling instant. Thisprofile is used as a feedforward signal at the output of both thetracking and seek controllers. The RROC feedforward signal is a timevarying signal, whereas the DC bias feedforward compensator 1232includes DC values which are a function of radial position.

The first formulation of the RROC profile occurs at the initialcalibration after power up. The servo system seeks the middle of eachzone (specific sample rate). The control effort is filtered to removehigh frequency content by a filter having a low pass frequency responsewith constant phase delay. A repeatable runout profile vector isgenerated, the profile vector having a dimension which is equal to thenumber of samples per revolution. Each sample is equal to the averagevalue of the control effort at that specific sample time over multiplerevolutions of the disk. When all profiles are completed (characterizingall zones), they are time-advanced to compensate for inherent time delayin the filter.

The feedforward input to the servo system is turned on. The repeatablecomponent of the control effort from the servo system becomessignificantly less; however, a small residual component is present. Theprofile is continually optimized by adding a weighted measure of theresidual control effort to the profile while the feedforward compensatoris active. The result is an adaptive self-tuning feedforward signal.

Schematically, the foregoing repeatable runout compensation process maybe illustrated as in FIG. 8.

Referring to FIG. 8, the uncompensated control effort u(k,θ_(j)) isinput on path 851. In u(k,θ_(j)), k is a discrete time variable, θ is anangular position of the head over the disk, and j is a subscriptindicating particular discrete disk angular orientations of θ, jdesignating which of the "S" disk sectors the head is over (j=1, 2, 3, .. . S).

The u(k,θ_(j)) signal is input to a low pass filter 860 to remove highfrequency noise. The filtered effort signal U_(L) (k,θ_(j)) output fromthe low pass filter on path 861, is used as an input to an addressdemultiplexer 870. The select input to the address demultiplexer 870 isa sector signal θ on path 869. The sector signal θ may readily bederived as the output of a counter which is reset with aonce-per-revolution index pulse and incremented once per sector by asector pulse or the like.

Based on the value of the disk angular orientation variable j, theaddressing demultiplexer causes a particular vector component in arepeatable runout profile vector memory 880 to be modified. Themodification of the vector component is made in accordance with theformula: ##EQU1## where FF·α·u_(L) (k,θ_(j)) is a dynamic termrepresenting a weighted control effort at a corresponding disk angularorientation which enables the compensator to adaptively optimize itselfas the repeatable component of the control effort changes, FF is abinary feedforward on flag indicating when the dynamic term is used toadjust the feedforward control effort, and α is the weighting factorchosen by the designer. [u_(L) (k,θ_(j))/n] is a static term, indicatingan average value of the control effort at corresponding disk angularorientations over n samples.

The FF flag is active is active after the n samples have been averagedfor the static component. Once the static component has been calculated,the dynamic component may be used for compensating repeatable runout, asfollows.

The components of the repeatable runout profile vector are read out ofvector memory 880 in order, by a multiplexer 890. The select input ofmultiplexer 890 is the sector value θ modified by an LPF delay factor,compensates for phase delays introduced by LPF 860. This modification isschematically indicated by an adder 892, receiving both the θ and LPFdelay signals, and providing a select input to multiplexer 890.

Finally, a switch 895 is controlled by the FF flag, described above. Therepeatable runout compensation signal RROC is provided when the FF flagis active.

Tracking and Seek Servo Bandwidth Compensation 1250

Bandwidth compensation functions are believed to be performed inaccordance with, for example, U.S. Pat. No. 4,835,633 (Edel et al.) andU.S. Pat. No. 4,890,172 (Watt et al.), both of which are incorporatedherein by reference.

In the illustrated embodiment, this compensator provides gains K_(T) andK_(S) for multiplying respective position and velocity error signalsbefore tracking and seek compensation.

A least mean square (LMS) system identification algorithm is implementedin the tracking controller in order to identify the plant parameters(D/A, Power Amp, Actuator, Sensor) during the linear mode of operation.

To calibrate this compensator, several time records of the plant's inputand output data are recorded for LMS processing. The resultingidentified plant parameters are used to compute the gain of the Z-domainplant transfer function at the prescribed open loop bandwidth. Theresulting gain is compared to a nominal reference value saved in memory.The tracking and seek compensator gains are scaled by the ratio of themeasured and reference gain values to establish the open loop bandwidthat the compensator's designed value. The resulting servo system has thedesired stability of phase and gain margins.

The observer is designed assuming nominal plant gain. Therefore,observer performance is enhanced by multiplying the control effort inputby the gain ratio to account for specific plant gain.

Reference Velocity Deceleration Compensation 346

This block ensures that a deceleration pulse is not too great inmagnitude to cause the plant to lose control near the end of seeks. Inparticular, if the reference velocity is too close to the maximumamplitude negative pulse, and a slight additional control effort is needto compensate for an anomaly such as a shock of vibration, the maximumnegative amplitude of the pulse may not be large enough for efficientcompensation. Therefore, a trade-off between a large amplitudedeceleration pulse for speed purposes, and a smaller amplitudedeceleration pulse to allow responsive control, is desirable. Moregenerally, U.S. Pat. No. 4,835,633 (Edel et al.), incorporated herein byreference, generally refers to adjusting the control effort in anoptimum fashion.

In the illustrated embodiment, the deceleration ("negativeacceleration") constant "a" used in the reference velocity profile iscalibrated to optimize the access time for each drive. Typically, theconstant would have to be selected to be acceptable over themanufacturing population and over time, temperature and supply voltagevariations. Unfortunately, this would result in potentially fast drivesfrom being operated at their maximum potential.

The present algorithm measures the acceleration capability of the drivewhen a seek of sufficient length is performed. A seek experiencingconstant acceleration over a minimum of 15 samples is called sufficientin length.

The acceleration constant is computed by:

    Accel.sub.meas =Distance/(Current*Time.sup.2)

This calculated acceleration of the drive is averaged over severalmeasurements. Finally, the deceleration constant of the referencevelocity generator is adjusted by comparing the average value of themeasured accelerations with a nominal reference value:

    d=d*Accel.sub.ref /Accel.sub.meas

Other details of operation.

A brief overview of the tracking and seek servo systems has beenpresented, as well as details of the particular blocks shown in FIGS.2-3. Now, still further structural and functional details of portions ofthe first embodiment are presented to provide background for the abovedescription.

Referring now to FIG. 5A, the servo input position error sensor 130(FIG. 1A) is displayed in greater detail. Referring also to FIG. 5B, atypical track 550 is illustrated.

A track has recorded on it area 552 and area 554 on opposite sides ofthe track. Area 552 and area 554 are displaced longitudinally, with thehead moving relative to the track in a direction indicated by arrow 556.In this manner, the head first encounters area 552 at a time frame "A"before it encounters area 554 at a time frame "B".

Ideally, the head should be centered in the track, at a positionindicated by center line 558. However, for a variety of reasons, thetrack may be off center in either a first direction 560 or a seconddirection 562. If the head is displaced in direction 560, it detects asignal A, which is larger in magnitude than a signal B. Conversely, ifthe head is off-center in direction 562, it detects a signal B* which islarger than the signal A. It is only when the head is exactly centeredon line 558 that signals A and B are equal in magnitude. These signalsare illustrated schematically in FIG. 5B.

The analog signal represented by one of the three graphs shown in FIG.5B is input to the sensor 130 (FIG. 5A) on path 502. In time frame A andtime frame B, respective sample-and-hold circuits 504 and 506 arestrobed so that the magnitude of the A and B pulses are recorded. Thenon-inverting input of a summation circuit 508 receives the output ofsample-and-hold circuit 504, while its inverting output receives theoutput of sample-and-hold circuit 506. Summation device 510 receives theoutput of the two sample-and-hold circuits at two non-inverting inputs.The first summation device thus provides a signal A-B which is a signeddifference in magnitude of the A and B pulses. Similarly, the secondsummation circuit provides an A+B signal which may be used to normalizethe A-B difference in automatic gain control block 1206 (FIG. 2).

The A-B difference signal is input to controllable gain multiplier 512,where it is multiplied by a high gain or low gain value determined inthe digital processor and passed back to the gain block 512 along path134. A multiplexer 514 selectively provides the GAIN·(A-B) output of thegain multiplier 512 and the A+B signal from summation device 510 asoutputs of the sensor unit 130 for analog-to-digital conversion by ADC132 (FIG. 1A). Multiplexer 514 sequentially provides its two inputs tothe ADC for ultimate use by the AGC 1206; use of the multiplexer avoidsneedless duplication of ADC circuitry for the two signals.

Track ID detection logic 520 receives signals from the head as it passesover track ID zones which are unique to each track. Preferably, adjacenttracks are coded using a gray code. The detected track ID, a digitalquantity, is provided directly to the digital signal processor on path135.

Referring now to FIG. 6, the tracking compensation block 1228 from FIG.2 is illustrated and described in greater detail than above.

The scaled value K_(T) *PES is input to two parallel paths in thetracking compensation block 1228. Along the first path is a first switch604 disposed at the input of an integrator 606 having a transferfunction generally indicated as G₂ (z). The integrator embodies a phaselag compensation function for providing stiffness to the servo system attimes selected by switch 604. The integrator 606 provides an outputsignal to a summation device 612 as well as to bias feedforward block1232 (FIG. 2).

In the second parallel path, the scaled value K_(T) *PES is input to adouble-phase lead compensator 608 having a transfer function generallyindicated as G₁ (z). A switch 610 is provided at the output of thedouble phase lead compensator 608. The output of switch 610 feedsanother input to summation device 612. Summation device 612 provides theinterim control effort signal u(k) to the summation device 1234 and tothe repeatable runout compensator 1230 (FIG. 2).

Switches 604 and 610 are controlled by the window detector 1222, asindicated along respective paths 614 and 618. Also, double-phase leadcompensator 608 is provided with initial conditions along path 616 fromstate initial condition calculation block 1236 (FIG. 2).

In operation, when the servo system is changing from seek mode totracking mode, switch 610 is moved from its open position to its closedposition when the heads are within a predetermined distance of theirdesired destination, such as, for example, one track width. Thisdetermination is made by the by the track capture detector 326 (FIG. 3).This allows the double-phase lead compensator to contribute to theinterim control effort u(k); it should have made no such contribution tothe seek mode control effort.

Subsequently, the window detector closes switch 604, effectively turningon the integrator when the positioned error signal verifies that theheads have stably settled close to the center of the track. Phase lagcompensator 606 is thus allowed to integrate the positional error onlyafter it has diminished to a smaller value, minimizing overshoot.

A purpose of the phase lag compensator 606 is to assist in repositioningthe heads when they are not ideally placed over the center of the track.Upon power-up a table is formed and stored in memory, the tableindicating a function of the integrator output as a function of headpositioning error. A least mean squares (LMS) fit of values measuredupon power-up is stored for use by the feedforward compensator. Theintegrator thus adapts to situations when the feedforward blocks (FIG.2) do not compensate exactly for the previously measured calibratedvalues. The integrator is initially set to zero when the biasfeedforward 1232 is on; otherwise, if the bias feedforward is off, theintegrator is maintained at its value retained from the previoustracking.

Referring now to FIG. 7, a timing diagram is presented which illustratesthe operation of one-track seek feedforward block 1238. The greatfrequency with which one-track seeks are experienced in normaloperations of a disk drive provides an impetus for this dedicatedfeedforward compensation function. This diagram may resemble waveformsinvolved in any seek-to-track transition, regardless of whether it is aone-track seek or a multiple-track seek. However, in seeks other thanone-track seeks, the initial acceleration pulse is not generallyprofiled in the careful manner characteristic of one-track seeks.

In FIG. 7, five waveforms are illustrated. Waveform 7A illustratespositional error signal as a function of time; waveform 7B illustratesfeedforward control (resembling coil current) as a function of time,showing first an acceleration pulse of magnitude ACCEL and adeceleration pulse of magnitude DECEL; waveform 7C illustrates the stateof integrator switch 604 (FIG. 6); waveform 7D represents the state ofdifferentiator switch 610 (FIG. 6); and waveform 7E represents the stateof switch 1239 (FIG. 2) at the output of the one-track seek feedforwardblock 1238.

In FIG. 7, between time T₀ and time T₁ it is assumed that the servo loopis in the tracking mode, so that the positional error signal isessentially zero. However, at time T₁, a command to move the heads fromthe present track to an adjacent track is received from the master. Atthis time, the positional error signal PES rises immediately from zeroto a value of one track width, as indicated by the steep rise inwaveform 7A. As the servo mechanism operates, the PES signalasymptotically approaches zero.

The reduction of the positional error signal is achieved through theapplication of an acceleration pulse 702 from T₁ until T₂ to propel theactuator away from the present track toward the destination track.Immediately following the acceleration pulse 702 is a deceleration pulse704 of opposite sign. As in the general case of any track seek, thedeceleration pulse is determined to cause the heads to approach thedestination track with a velocity profile which essentiallyasymptotically approaches zero at the time of arrival of the heads atthe destination. The preferred manner in which to generate theacceleration pulse 702 and deceleration pulse 704 is described below.

Immediately upon receipt of the command to move one track, switches 604and 610, which have previously been closed, are opened, to allow the onetrack seek servo controller to control generation of the interim controleffort u(k). In any seek, whether one-track or multiple track, theseswitches are changed from the closed position to the open position attime T₁ in waveforms 7C and 7D.

As described briefly above, as the head approaches adequately close tothe destination, indicated at time T₃, the window detector causes phaselead compensator switch 610 to be switched back to its closed position.It is not until time T₄ that integrator switch 604 is closed, allowingthe phase lag compensator 606 to contribute to the generation of theinterim control effort signal u(k). Closure of switch 604 is delayeduntil time T₄ so that integrator 606 integrates only the area 706 (underwaveform 7A) rather than integrating both areas 706 and 708. Integrationof both areas 706 and 708 might cause overshoot and resultingoscillation, the transients of which may delay the final track capture.The closure delay until T₄ is normally determined by the window detectorconfirming adequately close tracking of the heads; however, in the eventthe window detector malfunctions, a predetermined timing delay willactivate the switch so that the system will eventually use theintegrator to track. In summary, the deceleration pulse, initiated whenthe head has been displaced by approximately 0.5 of a track, isterminated at the time marking closure of switch 610, while switch 604is closed only when the PES has settled within a predefined window.

Speaking more conceptually, tracking servo bandwidth is constrained bysampling rate and mechanical resonances. The one-track seek feedforwardcontroller assists the tracking controller in rapidly settling on thedestination track to achieve a reduced access time after the seek. Inthe manner described above, the output of the integrator continues todrive the DAC in order to compensate for current bias forces. The outputof the double phase lead compensator is disabled from driving the DAC toprevent the natural servo system dynamics from opposing the feedforwardcontrol effort. The double phase lead input continues to monitor the PESsignal during the motion in order to properly establish the initialconditions on the states when the feedforward controller is terminated.

Switch 1239, disposed at the output of one-track seek feedforward block1238 (FIG. 2), is closed only between time T₁ and time T₃. This timeperiod is the only time in which the block 1238 contributes to the finalcontrol effort output from summing device 1234 (FIG. 2). This period ofclosure reflects the ease with which the one-track seek controller isactivated; control remains substantially within the tracking servocontroller (FIG. 2) during one-track seeks rather than being transferredto the seek servo controller (FIG. 3).

Acceleration and deceleration pulse amplitude calibration in one-trackseeks is performed as follows. The amplitude of the pulses for thespecific drive and environment are determined by performing one-trackseeks and evaluating a performance cost function over a suitably sized(for example, 2 row by n column) matrix of pulse amplitudes as well as acorresponding matrix of time durations. The elements of the matrixinclude acceleration and deceleration pulse amplitudes and correspondingtime durations to be tested.

For example, the rows contain the acceleration pulse amplitudes and thecolumns contain the deceleration pulse amplitudes. Therefore, there area variety of possible acceleration/deceleration pulse combinations fromwhich the optimal combination is selected. What comprises optimal pulseamplitudes is determined by minimizing a cost function. The costfunction is:

Cost(x)=a1*Σ[abs(PES(k))]+a2*N for k=1, . . . ,N, where

N=Number of samples to settle into tracking window;

a1=Weighting coefficient for the area; and

a2=Weighting coefficient for the settling time,

the weighting coefficients being chosen by the designer. The averagecost=Σ[Cost(x)] / Y, for x=1, . . . ,Y, where Y=number of one trackseeks.

Therefore, the selected pulse amplitudes and durations provide theoptimal one-track seek performance in terms of settling time (N) andpositional error (PES). The optimal pulse amplitudes for inward andoutward seek directions can be independently calculated to account forlack of symmetry in the two seek directions.

Optimal cost is saved as a reference value for continuous monitoring ofthe single track seeks during drive operation. If the current costexceeds the optimal calibrated cost by a predefined amount, then are-calibration may be automatically performed.

The following shows derivation of the initial condition equations forthe states of the digital tracking servo controller's phase leadcompensator 608 (FIG. 6) during track capture at the end of a velocitymode seek. The initial conditions for the double phase lead compensatorare calculated by state initial condition calculation block 1236 (FIG.2).

The tracking servo system exhibits a significant amount of overshoot attrack capture. (For purposes of this discussion, "track capture" isdefined as the transition from the seek mode (FIG. 3) to the trackingmode (FIG. 2).) Overshoot can cause an unacceptable settling time, butcan be minimized by proper initialization of the phase leadcompensator's states. When the phase lead compensator's states areproperly initialized at track capture, a deceleration pulse of currentis generated which is a function of the head velocity and distance totrack center.

As an illustrative example, the following assumptions are made regardingplant nominal parameters:

Actuator Inertia=6.582*10⁻⁴ oz-in-sec²

Torque Constant=12.04 oz-in/amp

Pivot to Head=2.062 in

Track Pitch=617*10⁻⁶ in

DAC/Amp Gain=21*10⁻⁶ amp/bit

DSP scaling factors, relating the internal representation of bits in theDSP to measurements in the real world, may be as follows:

Velocity 4096 B_(v) =40 in/sec

Distance 200 B_(d) =617*10⁻⁶ in

where B_(v), B_(d) denotes a bit.

The phase lead compensator may be represented by equations according tostate space theory, whose initial conditions may be determined asfollows. Those skilled in the art are capable of determining from theknown characteristics of the plant the desired Z-domain transferfunctions G₁ (z) and G₂ (z) (FIG. 6). These transfer functions may betransformed to state space representation and expressed in a newstructure, such as Jordan canonical form. In particular, the DSPtracking phase lead filter state equations are:

    x.sub.1 (k+1)=f.sub.2a0 *x.sub.1 (k)+f.sub.2a1 *x.sub.2 (k)-K.sub.T PES(k)

    x.sub.2 (k+1)=f.sub.2a0 *x.sub.2 (k)+K.sub.T PES(k)

The output equation is thus:

    y(k)=f.sub.1a0 *x.sub.1 (k)+f.sub.1a1 *x.sub.2 (k)+f.sub.1a2 *K.sub.T PES(k)

where x₁ and x₂ are the state variables and the f coefficients followfrom the derivation from the known coefficients of the Z-domain transferfunctions G₁ (z) and G₂ (z.sub.).

The initial conditions may be found as follows.

Assuming coil current is a simple multiple of the filter output (thatis, i(k)=α y(k)), and since:

    i=-(J*V.sub.xo.sup.2) / (2*Δx*K.sub.t *R)

(where J is the actuator inertia, V_(xo) is the initial velocity, Δx isthe initial distance to the destination track, K_(t) is the torqueconstant (not to be confused with the gain factor K_(T)), and R is thedistance between the actuator pivot and heads), therefore an initialcondition for state variable x₁ in terms of the actuator structure is:

    x.sub.1 (0)=(-1/2f.sub.1a0)*[(J*V.sub.xo.sup.2)/(2*α*Δx*K.sub.t *R)+f.sub.1a2 *K.sub.t *PES]

Therefore, in this particular example, the initial condition equationsare:

    x.sub.1 (0)=-(19.514*vel.sup.2 /dist+f.sub.1a2 *K.sub.T PES) / (2*f.sub.1a0)

    x.sub.2 (0)=-x.sub.1 (0)

where "vel" is the head velocity [Bv bits] from the observer at thecurrent sampling instant, and "dist" is distance [Bd bits] to trackcenter; here, a positive current corresponds to a positive displacement"dist".

This ends discussion of phase lead compensator state equation initialcondition determination.

Detailed operation of the window detection block 1222 (FIG. 2) isillustrated in FIG. 23A.

The preferred window detection algorithm is preferably implemented inDSP code to detect the completion of track settling. The settling couldbe initiated by a transition from velocity mode seek to position modetracking or simply due to an external disturbance causing a transient.The objective of the algorithm is to optimally detect the "settledcondition" in order to maximize the available time for the drive to readand write data to the disk. The basic problem of settling detection isillustrated by a transient response signal. The damping associated withthe illustrated signal is very small relative to the tracking servosystem (50 degree phase margin), in order to clearly demonstrate theproblem. Minimum settling time detection may be defined as a fraction ofthe natural frequency of the closed loop servo system; a suitable valueis half of a cycle.

Referring to FIG. 23A, a waveform 802 resembling a damped sinusoidindicates the positional error signal as a function of time during tracksettling. The positional error signal waveform 802 is shown approachingzero value, but reflects excursions beyond values X and -X to illustratean oscillation of the heads about the center of the track. FIG. 23A alsoillustrates a hysteresis range X_(hyst) centered about the +X and -Xvalues on the vertical PES axis. In the bottom part of FIG. 23A, abinary window detection output is illustrated as a function of time.

From time T₀ to time T₁, the window detection output is positive,indicating that the PES is stably located within the +X to -X range.However, at time T₁, the PES signal exits the range (perhaps to seekanother track, or perhaps because of a physical jarring), causing thewindow detection output to change state. The window detection outputremains in its negative state until it is determined that the PES hasreturned to a stabile location within the +X to -X range about thecenter of the indicated track. In FIG. 23A, this time is illustrated asT₅.

Assuming the motion from the source location to the destination trackfollows an oscillatory path, the damped sinusoid passes through thevalue X-(X_(hyst) /2), indicated at 804, at time T₂. At time T₂, acounter with a pre-set value is started. However, in the illustratedexample, the counter does not expire before the waveform exits a givenrange, illustrated at point 806 where its magnitude is -X-(X_(hyst) /2),this exit occurring at time T₃. The non-expiration of the counterindicates that the heads have not settled within the proper distance ofthe center of the track, so that the window detection output remainsinactive.

As the PES waveform reenters a range at time T₄, indicated at point 808,the counter again counts down from a pre-set value. In this case, aftertime T₄, the counter decrements to zero, indicating stable tracking towithin desired tolerances. The counter here expires at time T₅, which isdelayed by a period T_(settle) from time T₄. The window detection outputbecomes active at time T₅.

The Positional Error Signal (PES) inherently has random noise on it.Therefore, the algorithm includes a hysteresis feature to prevent thenoise from causing undesirable switching oscillations during atransition across a window boundary. To prevent noise-induced effects,hysteresis zones 810 and 812 are provided, centered about respective PESvalues X and -X. Provision of the hysteresis zones 810 and 812 preventsfalse triggering of the counter which might otherwise be caused at timessuch as at time 814.

It is to be understood that FIG. 23A illustrates a generalized tracksettling waveform for a variety of parameters of interest. The settlingdetection algorithm fulfills a requirement for at least four distinctwindows. Windows are defined for detecting (1) a tracking integratorwindow for the tracking integrator 606 and its input switch 604, and (2)a high gain window for determining when sensor 130 (FIG. 1A) should bein high gain mode. The remaining two windows define when the controllercan (3) read data, or (4) write data.

Assuming nominal values are as follows:

Track Density=1620 Tracks/in

Integrator Window=+/-4 Tracks

Read Window=+/-0.5 Track

High Gain Window=+/-0.056 Track

Write Window=+/-0.04 Track

and PES sensitivity is:

Low Gain=5.3*10⁵ Bits/in

High Gain=3.15*10⁶ Bits/in

and

Closed Loop BW=325 Hz

Disk rotation speed=3511 RPM

ID Sectors/Rev=44 Sectors/Rev

OD Sectors/Rev=54 Sectors/Rev

Typical values which may be used in an operational scenario fordetermination of the X to -X range, and resultant settling time givencertain assumptions about the physical structure of the disk drive, areprovided in the charts below. Of course, it is understood that differentdisk drives have different parameters; furthermore, there is someadjustment left to the discretion of the individual designer. Variationsfrom the listed values may be made in accordance with considerationsknown to those skilled in the art.

    ______________________________________                                                Nom. Value    Hysteresis                                                                              Settling Time                                 Window  (Track)       (Track)   (msec)                                        ______________________________________                                        Integrator                                                                            4             0.5       1.5                                           Read    0.5           0.1       1.9                                           High Gain                                                                             0.056         0.013     1.1                                           Write   0.04          0.01      2.3                                           ______________________________________                                    

FIG. 9 illustrates in detail the preferred structure of the seekcompensation block 328 (FIG. 3). The structure of the block is describedimmediately below; its operation is described with reference to FIG. 10.

The velocity error multiplied by the coefficient K_(s) by multiplier 324enters two parallel paths in the compensation block 328. A first path,an essentially uncompensated path for the acceleration phase of a seek,enters a multiplier 902 which multiplies the input by a factor K_(g).The input also feeds a double phase lead compensator 904 in a secondpath, which is a highly compensated path for control during thedeceleration phase of a seek.

In the first path, the input is multiplied by a K_(G) for use during theinitial portion of the seek, in which a high-magnitude, constantacceleration is desired. Multiplier 902 feeds the first input of amultiplexer 920 along a path 906, as well as feeding initial conditionsto an integrator 912 along a path 908.

In the second path, the output of the double phase lead compensator 904is input to a switch 910, the output of the switch being connected tothe input of an integrator 912. The input of a zero crossing detectionlatch 914 receives the output of the double phase lead compensator alongpath 916, and delivers a switch control signal along path 918. Theposition of switch 910 is determined by the output of zero crossingdetection latch 914. The zero crossing detection latch 914 controls theselect input of multiplexer 920, first selecting the output ofmultiplier 902 on path 906 and thereafter the output of integrator 912on path 924. The output of multiplexer 920 comprises the interim controleffort signal u(k).

Referring now to FIG. 10, three waveforms are presented for illustratingoperation of the seek servo controller compensator in FIG. 3.

Graph 10A illustrates the DSP control effort output U(k) as a functionof time. An acceleration pulse 1002 changes to a deceleration pulse 1004at an optimally chosen time T_(A). Graph 10B illustrates the coilcurrent as a function of time. The coil current shown in graph 10Bgenerally follows the control effort signal in 10A, although suchfactors as back EMF and inductance round the edges of the accelerationand deceleration pulses.

Graph 10C illustrates velocity as a function of time for VEL_(REF) (thereference velocity waveform 1002) and VEL# (the feedback velocitywaveform 1004). Reference velocity waveform 1002 is that output from thereference velocity generator 316 (FIG. 3). Feedback velocity 1004 is theVEL# output from observer 342. The difference between these two signals,ERR_(VEL), output by summation device 322, is also illustrated in graph10C.

Graph 10C illustrates the approach of the feedback velocity waveform1004 to the reference velocity waveform 1002. Preferably, the approachis asymptotic, but may be otherwise if inadvertently or purposefullyunderdamped or overdamped.

At the time T_(A), the reference velocity changes from its constantvalue on segment 1006 to a linearly decreasing segment 1008. At timeT_(A), the feedback velocity 1004, which had been substantially linearlyincreasing along a segment 1010, begins its substantially asymptoticapproach to reference velocity segment 1008, as indicated by curve 1012.As the heads approach the center of the destination track, the referencevelocity and the feedback velocity become indistinguishable, indicatingthe ERR_(VEL) output of summation device 322 (FIG. 3) is reduced to nearzero; this minimizes the compensation which must be performed by theseek compensation block 328 (FIGS. 3 and 9).

In operation, switch 910 (FIG. 9) of the seek compensator is open duringthe initial portion of the seek and multiplexer 920 passes the adjustedvelocity error on path 906 as the interim control effort output.However, when the double phase lead compensator 904 approaches zero,zero crossing detector 914 causes closure of switch 910 and changing ofmultiplexer 920 to select the output of integrator 912. (In practice,the time derivative of the error signal moves back and forth about zero;it is the first crossing which causes the latch to change state.)Simultaneously, the output of multiplier 902 is loaded into theintegrator 912 along path 908 as the integrator's initial condition;this simultaneous switching of multiplexer 920 and loading of initialconditions into the integrator 912 assure substantial continuity in theoutput of multiplexer 920. After zero crossing detection latch 918causes closure of switch 910, the control effort is effectively theintegrated output of the double phase lead compensator 904.

Referring now to FIG. 11, a block diagram including mathematical modelsof the power amplifier and actuator illustrates the portion of the plantreceiving the control effort signal U(k) from the DSP 110 (FIG. 1A). Theplant includes DAC 114, power amplifier 116, actuator coil 118, andactuator model 1150.

DAC 114 comprises a series-connected digital to analog converter 1102,gain block 1104, and notch filter 1106. Digital to analog converter1102, having a finite word length, is optimized to provide a suitabledynamic range to the control effort signal. Gain circuit 1104 scales theanalog control effort value to a suitable range before being input to apower amplifier 116. Notch filter 1106 filters unwanted resonances. Aparticular embodiment of the DAC is illustrated in FIG. 1B.

Power amplifier 116 may be conceived as comprising a summation block1108 which receives at its non-inverting input a reference voltageoutput by the notch filter 1106. The inverting input of the summationdevice 1108 receives a voltage output from a current sensing device1120, the voltage indicative of the current passing through the actuatorcoil. Summation device 1108 thus produces a voltage indicating currenterror signal.

A conventional compensation network 1110 receives the error signalpreparing it for the power stage 1112 which converts the voltage to ahigh current. The high current is voltage-limited by limiter 1114 beforebeing input to the non-inverting input of a summation device 1116.Summation device 1116 receives at its inverting input a quantityindicative of the back EMF of the coil. The current output from currentsummation device 1116 drives the actuator coil. The current in theactuator coil is sensed by current sensing device 1120 for feedback tosummation device 1108.

The coil current on path 1122 is also input to the actuator which ismodeled as illustrated. The current is multiplied by a torque constantK_(t) and a distance R equal to the distance between the actuator pivotand the heads. The output of multiplier 1124 is input to thenon-inverting input of a torque summation device 1126. The output of thetorque summation device is input to a multiplier 1128 which divides itsinput by the actuator inertia J. The output of divider 1128 isintegrated by integrator 1130. Integrator 1130 feeds a multiplier 1132which multiplies its input by a back EMF constant K_(bemf). Thismultiplied quantity is input to the inverting input of summation device1116, indicating the BEMF.

The output of integrator 1130 is fed back to the inverting input oftorque summation device 1126 after being multiplied by a viscous dampingconstant K_(x) ' at block 1138. The output of integrator 1130 also feedsa second integrator 1134, whose output indicates the absolute positionof the heads on path 1136. The absolute head position is fed back toanother non-inverting input of the torque summation device 1106 afterbeing multiplied by a spring constant K_(x) in block 1140.

Second Embodiment

A second embodiment of the invention is described with special referenceto FIGS. 12 and 13. The description of this embodiment is provided inthe following order:

Functional Descriptions:

Servo Field Structure (FIG. 16)

DSP Control System (FIG. 12)

Servo Timing Test

Offset Correction (FIGS. 17A, 17B)

Gain Normalization (FIGS. 18A, 18B)

Inverse Nonlinearity Compensation (FIG. 19)

Range Extension; Integrity Test (FIGS. 20A-20C)

Power Amplifier Model (FIGS. 21A, 21B)

Observer (FIG. 22)

Settling Window Detectors (FIGS. 23A, 23B, 23C)

Integral Controller (FIGS. 24, 25) Single Track FF Controller (FIGS.26A, 26B) Bias Feedforward Controller (FIG. 27) Intermediate LengthFeedforward Controller (FIGS. 28A, 28B, 28C)

Re-calibration (FIG. 29)

Dynamic Scaling of Parameters (FIG. 30)

Description of Sequential Steps:

High-level Flow Chart (FIG. 13)

High-level Timing Diagram (FIG. 14)

Phases Experienced During Seeks (FIG. 15)

Command Routines

Control Routines Subroutines Window Routines

Post Processing Routines Calibration Post Processing Routines

The Servo Field

FIG. 16 is a magnetic domain diagram of a preferred servo field which isradially disposed between sectors on the disk. Briefly, this servo fieldprovides positional information to a head passing over it, in the formof integer gray coded TrackID's and dibit pairs which allowdetermination of fractional position information. Sensor element 130 inFIGS. 1A and 1B schematically illustrate the detection and use of someportions of this servo field, with FIG. 5A showing more specifically thegeneration of integer and positional error signals PES_(I) and PES_(F),respectively. FIG. 12 shows how the preferred servo system uses thePES_(I) and PES_(F) signals to control the servo loop.

FIG. 16 illustrates the magnetic domain pattern of the servo field forfour adjacent tracks, with the analog signal near the top of the figureidentifying the corresponding signal detected by the data head as itpasses over the center of track 3, indicated TC3. In a preferredembodiment of a disk drive having 120 MB of data on two disks, 44 servofields are provided on the inner zone of each disk surface, and 54 onthe outer zone.

In FIG. 16, the head passes over the magnetic domain surface from leftto right in the figure, in accordance with the following description.

The preamble is a low frequency alternating north/south domain patternwhich enables logic circuitry to detect the beginning of the servoframe. The frequency of the preamble pattern is selected to be anillegal data pattern, to prevent servo field detection logic fromfalsely triggering on a data pattern.

Sync pulses after the preamble provide an accurate synchronizing markerfor subsequent operations.

A code bit, located after the sync pulse field, defines which set of A,B domains to select. The determination is relevant to processinginformation in the PES_(F) field, described below. Specifically, thepresence of a code bit enables the selection of the A_(Q), B_(Q) dibits,whereas the absence of a code bit enables the selection of the A_(N),B_(N) dibits.

The index field is a marker present in only one servo field per diskrevolution. The head thus encounters the index field once perrevolution, allowing, for example, accurate motor speed control.

The fractional portion of the positional error signal, PES_(F), isgenerated from peak detection of the pair of dibits A_(N), B_(N) orA_(Q), B_(Q) identified by the code bit. Therefore,

    PES.sub.F =A.sub.N -B.sub.N if code bit is not present; or, PES.sub.F =A.sub.Q -B.sub.Q if code bit is present.

The determination of PES_(F) from the A_(N), B_(N) or A_(Q), B_(Q)dibits is made in accordance with FIG. 5B, as described elsewhere inthis specification.

In the preferred embodiment, two offset calibration tracks are provided,one in each zone. In every tenth servo field in these offset calibrationtracks, dibits are placed on the same side of track center to allowdetermination of offset. This arrangement is shown in FIG. 17B, and isnot further described here.

Again referring to FIG. 16, a unique track identification number,TrackID, is identified in the form of a gray code pattern whichimmediately follows the PES_(F) segment. This pattern provides the servosystem with head positional information at each sample, as describedwith reference to the range extender in FIG. 20A. The integer portion ofthe positional error signal, PES_(I), is calculated by subtracting therequested track from the current track, the current track being thetrack identification number measured in the gray code field.

This arrangement distinguishes the invention from known systems in whichtrack identity information may be present in the user data field (asopposed to the servo field). In the known systems, the track informationhad to be processed through the master (102 in FIGS. 1A, 1B) rather thanbeing immediately accessed and quickly processed in the DSP (110 inFIGS. 1A, 1B). Thus, according to the present invention, the delays ofknown position control systems are eliminated, allowing full andimmediate DSP knowledge of position and positional error in the DSPitself.

DSP Control System-High Level Flow Diagram

FIG. 12 illustrates schematically a second implementation of the DSPcontrol system according to the present invention. As previouslydescribed, the functions of the second embodiment of the DSP block 110(FIGS. 1A, 1B) are implemented totally in firmware in a TexasInstruments TMS320C15PEL, so that the various "blocks" shown in FIG. 12are embodied in blocks of code. Each block of code is not necessarily acontiguous block in memory. Thus, the various "blocks" shown in FIG. 12are not physical elements in the preferred embodiments, although it lieswithin the contemplation of the invention that they could be implementedas such.

Moreover, FIG. 12 illustrates only the general relationship of the majorfunctional blocks. The functional sub-blocks shown within the majorblocks are very schematic in nature, and many sub-blocks have beenomitted for the sake of graphic clarity. The major blocks, thefunctional sub-blocks, the additional functional blocks not specificallyillustrated in FIG. 12, and the operation of all of these entities, aredescribed below, with reference to FIGS. 12 through 30.

Broadly, the objects of the DSP control system are to measure the headpositional error sample including PES_(F) (fractional PES) and PES_(I)(integer PES, or number of tracks of error), and to generate anappropriate control effort u(k) to center the heads onto the trackcenter which causes the PES measurement to converge to zero.

To achieve these objects, the functional blocks shown in FIG. 12 processthe measurement to remove or minimize errors which originate fromoffsets and gain variation in the head position sensor, as well asnonlinearities in the sensor's response. Further, the effects of noiseon individual measurements are filtered. The DSP control system alsouses a state space implementation of an observer to emulate the dynamicsof the plant (FIG. 1A elements 114-132) to provide access to thevelocity state and a filtered positional state. Moreover, the DSPcontrol system eliminates steady state error introduced by biases actingon the heads and utilizes calibrated measurement data to optimize theservo system dynamic and static performance.

Referring more specifically to FIG. 12, several inputs are shownentering the DSP control system. A first input is the integer positionalerror signal PES_(I) on path 135, derived from the TrackID gray codefield in FIG. 16. PES_(I) is derived by subtracting the track ID from arequested track sent by the master. The subtraction is schematicallyillustrated in FIG. 12 by an adder 131, at whose non-inverting input isthe requested track received through command register 162 (FIG. 1B).Adder 131 receives the track ID at its inverting input. In a particularpreferred embodiment, the track ID is read from servo fields which areradially disposed on the disk, spaced between sectors thereon.

A second input to the DSP, the fractional positional error signalPES_(F), is input on a path 133. PES_(F) is output on path 133 byanalog-to-digital converter 132 (FIGS. 1A, 1B), and is ultimatelyderived by processing dibit signals A and B (FIG. 16).

The fractional positional error signal PES_(F) is input to a servosample timing test block 205. Timing test block rejects any apparentservo samples which occur outside their expected time frame, but passesthe samples which occur as expected in the proper time frame.

Assuming the servo field was found in the correct time period, thefractional positional error signal PES_(F) is passed on to an offsetcorrection block 210, more details of which are illustrated in FIG. 17A.The offset correction block 210 provides an offset-corrected positionalerror signal PES_(O) on path 211 to a normalization block 220. Furtherdetails of the normalization block 220 are illustrated in FIG. 18A. Thenormalization block provides a normalized positional error signalPES_(N) on a path 221.

The normalization block 220 receives as further inputs, a predictedtrack ID TrackID_(P) on path 254 and a high gain-low gain control signalon path 261. The origin and generation of these two input signals aredescribed below, with reference to FIGS. 21A, 22, 23A, and 23B.

An inverse nonlinearity compensation block 230 receives the normalizedpositional error signal PES_(N) from path 221. The inverse nonlinearitycompensation block 230 provides a linearized positional error signalPES_(L) on path 231. Details of inverse nonlinearity compensation block230 are provided below, with reference to FIG. 19.

The linearized fractional positional error signal PES_(L) is provided toa sample integrity tester and linear range extender 240. The integerpositional error signal PES_(I) is also provided to the sample integritytester and linear range extender 240, on path 135. A third input to thesample integrity tester and linear range extender 240 is a predictedpositional error signal PES_(P) which is provided on path 253. A fourthinput to the sample integrity tester and linear range extender is asecond interim control effort signal u"(k) which is provided on path252. The sample integrity tester and linear range extender provide aninterim positional error signal PES'(k) on path 241. Further details ofthe structure and operation of the sample integrity tester and linearrange extender 240 are provided below, with reference to FIGS. 20A and20B.

A full state observer 250 receives the interim positional error signalPES'(k) on path 241. It also receives a first interim effort signalu'(k) on a path 271. The full state observer provides x(k), a 1-columnby 2-row vector quantity comprising PES(k) and VEL(k), on path 251.Further, the full state observer provides the second interim controleffort signal u"(k) to the sample integrity tester in block 240, viapath 252. The full state observer also provides the predicted positionalerror signal PES_(P) to the sample integrity tester on path 253.Finally, the full state observer provides a predicted track IDTrackID_(P) (a sum of the requested track and PES_(P)), on path 254 foruse in the normalization block 220 and an integral controller 270(described below). Further details of the full state observer areprovided below, with reference to FIGS. 21A, 21B, and 22.

The x(k) vector provided on path 251 and the interim positional errorsignal PES' on path 241 are received by a settling window block 260.Settling window block 260 generates a high gain-low gain signal on path261, for use in the normalization block 220. Settling window detectoralso produces various window signals for governing operation of anintegral controller (described below), and read and write enablement.

The x(k) vector on path 251, as well as the interim positional errorsignal PES' on path 241 and predicted track ID on path 254 are receivedby an integral controller 270. The primary purpose of the integralcontroller is to provide the DSP's output control effort u(k) on path112. However, the integral controller 270 also provides the firstinterim control effort u'(k) on path 271 to the full state observer.Further details of the integral controller 270 are provided below, withreference to FIG. 24.

The details of the functional blocks of FIG. 12 are now described ingreater detail.

Servo Sample Timing Test 205

Full state observer 250 and integral controller 270 function properly,only if the sample period corresponds to a full sample time. If asupposed "sample" occurs before it is expected (as determined by thespeed of rotation of the disk and the distance between servo fieldsbetween disk sectors), the "sample" is ignored, and a next sample isawaited for processing. If the expected time of arrival passes without aservo field being detected, then the loop operates in "freewheel" mode,with the estimate state variables generated within the full stateobserver 250 governing the servo controller during the current sampleperiod.

Offset Correction Block 210

Referring now to FIG. 17A, the offset correction block 210 isillustrated in detail. Very briefly, the offset correction blockmeasures the PES_(F) sensor's electrical offset component. Thismeasurement is accomplished by utilizing offset calibration dibitslocated in a non user data portion of the disk.

Essentially, the electrical offset of a sensor is understood byreferring to FIG. 5A. In FIG. 5A, two paths for analog data areillustrated in sensor 130. A first path includes sample-and-hold block504 and a subtractor 508. A second path includes a sample-and-hold block506 and an adder 510. Because no two circuits can be identical, even ifidentical-magnitude pulses enter the two sample-and-hold blocks 504,506, the analog magnitude of the signals entering subtractor 508 andadder 510 may not be absolutely identical. This phenomenon is calledelectrical offset. During operation, the differences in the electricalcharacteristics of the upper path and lower path cause A and B to bedifferent at the inputs to subtractor 508 and adder 510, so that thedifference and sum signals output therefrom also reflect the electricaloffset. To correct for this electrical offset, the offset calibrationblock 2102 (FIG. 17A) is provided.

The FIG. 17A offset correction block 210 essentially comprises afeedforward offset correction calibration block 2102, and an adder 2104.The fractional positional error signal PES_(F) on path 133 is input tothe offset correction calibration block 2102 which produces afeedforward offset correction value on path 2106. Adder 2104 receives atits non-inverting input the fractional positional error signal PES_(F).Adder 2104 receives the feedforward offset value on path 2106 at itsinverting input. The output of the offset correction block 210 is theoffset-corrected positional error signal PES₀.

The offset correction calibration block 2102 functions in the followingmanner. Brief reference is made to FIGS. 16 and 5B. Whereas thefractional positional error signal PES_(F) is derived from dibitsdisposed on opposite sides of track center (FIG. 5B, and the PES_(F)region in FIG. 16), an offset value is determined from dibits which arelocated on the same side of track center (FIG. 17B). Dibits on the sameside of track center are not illustrated in FIG. 16. Such same-sidedibits may be provided on every tenth servo field (ten being exemplaryand non-limiting), so that 90% of the servo fields have dibits onopposite sides of track center to allow accurate determination ofPES_(F) in accordance with FIGS. 5B and 16. The observer (describedbelow) freewheels during the offset sample to minimize degradation oftracking performance.

FIG. 17B illustrates two such successive offset measurement dibits A andB in isolation. If the head is located over the half of the track havingthe dibits, indicated as 2110, two large-magnitude pulses 2112 and 2114are produced. In contrast, when the head is located over the half of thetrack which does not have the dibits, indicated as 2120, very smallmagnitude pulses 2122 and 2124 are generated. However, when the head iscentered on the track, indicated as 2130, two medium-magnitude pulses2132 and 2134 are generated.

Thus, when the head is properly centered over the track, it is expectedthat pulses will be generated having a magnitude substantially the sameas pulses 2132, 2134. The "offset value" for a given sample is definedas the value of the magnitude of one pulse minus the value of themagnitude of the other pulse; that is, A-B. The offset samples areaveraged over a sufficient number of offset dibits, so as to minimize oreliminate the effects of any noise. The resultant average of offsets issaved, thus completing the calibration. During operation, the savedaverage is output by block 2102 on path 2106 to be subtracted from thepositional error signal PES_(F) by adder 2104 (FIG. 17A). The averaged"offset values" correct the electrical offset phenomenon describedabove.

Normalization Block 220

The offset-compensated positional error signal PES₀ is input to thenormalization block 220, illustrated in greater detail in FIG. 18A.Briefly, the purpose of the normalization block is to correct for gainvariations of the PES_(F), reflecting variations in the magnitude of Aand B pulses (see FIG. 5B).

The fractional PES_(F) measurement has significant inherent gainvariations. For example, PES_(F) varies as a function of head, diskzone, and radial position on the disk. The gain variations result fromthe specific properties of the head and disk medium, for example. Theservo system requires significantly large gain stability margins toguarantee servo stability in the high volume of drives manufactured.According to the present invention, a solution is to normalize the gainvariation of the position sensor. This is accomplished by measuring thetotal signal strength (A+B)_(meas) in addition to the PES_(F) =A-B andappropriately scaling the PES_(F). Symbolically,

    PES.sub.N =PES.sub.0 ·(A+B).sub.REF /(A+B).sub.MEAS

where PES_(N) is the normalized positional error signal, PES₀ is theun-normalized positional error signal, (A+B)_(REF) is a reference valuedescribed below, and (A+B)_(MEAS) corresponds to the current sample.

This technique works well provided that the measurement is awell-behaved linear signal, a valid assumption when the data head ispositioned close to track center. However, the PES linearitysignificantly degrades when the head position deviates from trackcenter. The inventive control system includes a feedforward PES_(F)normalization algorithm which utilizes the accurate gain variation datameasured when the head is on track center to derive the optimumnormalization function for low gain measurements.

Referring more specifically to FIG. 18A, the normalization block 220includes a high gain normalization block 2210 and a low gainnormalization block 2220. Both blocks 2210 and 2220 receive theoffset-compensated positional error signal PES₀ on path 211. Dependingon whether the controller is in a high gain mode or a low gain mode, thehigh gain normalization block 2210, or the low gain normalization block2220, respectively, provides the normalized positional error signalPES_(N) on path 221. The selection between the outputs normalizationblock 2210 or 2220 is shown schematically by a selector 2230 whosecontrol input is the high gain/low gain signal on path 261 from settlingwindow block 260 (FIG. 12).

For example, when the controller is in low gain mode, indicating theheads are not stably positioned over a track center, the output from thelow gain normalization block 2220 is chosen by selector 2230 as thenormalized positional error signal PES_(N). Conversely, when thecontroller is in high gain mode, indicating the heads are stablypositioned over a track center, the output from the high gainnormalization block 2210 is chosen by selector 2230 as the normalizedpositional error signal PES_(N). In the preferred embodiment, thedecision as to whether or not a head is closely approaching track centeris determined by whether or not it has stably settled to within ±8% ofthe track width, as determined within settling window detection block260. In this manner, the undesirable variations of the sensor's gain arenormalized, both when the controller is in low gain mode and when it isin high gain mode.

The high gain normalization block 2210 also receives (A+B)_(MEAS), ameasured value of A+B, where A and B are the magnitudes of dibitsdisposed on opposite sides of track center as illustrated in FIG. 5B.High gain normalization block 2210 multiplies the offset-compensatedpositional error signal PES₀ by a normalization value. The normalizationvalue is a reference sum, (A+B)_(REF), divided by the measured value of(A+B)_(MEAS). (A+B)_(REF) is effectively what (A+B)_(MEAS) "should" be,and is determined by design choice. Thus, if (A+B)_(MEAS) is what it"should" be (equal to (A+B)_(REF)), then high gain normalization block2210 is effectively a multiply-by-1 block, passing theoffset-compensated positional error signal PES₀ through to selector2230.

Low gain normalization block 2220 is more complex, so as to compensatefor nonlinearities of the PES when the heads are not closely followingtrack center. Block 2220 multiplies PES₀ by a normalization value whichmay be expressed as:

    α.sub.1 (Zone,Head)·TrackID.sub.P α.sub.2 (Zone,Head)

where α₁ (Zone, Head) and α₂ (Zone, Head) are parameters which are afunction of the zone on the disk, and the head under consideration, andare determined as described below. For purposes of this discussion, a"zone" may be considered to be all points on the disk surface between afirst radius and a second radius. In particular, Zone 1 may beconsidered the ring-shaped disk surface area between the inside diameterand an intermediate diameter, and Zone 2 may be considered to be thering-shaped area on the disk between the intermediate diameter and theoutside diameter. The low gain normalization block 2220 receives thepredicted track ID value, TrackID_(P), from the full state observer 250(FIG. 12).

The two parameters α₁ (Zone, Head) and α₂ (Zone, Head) are determined inlow gain normalization calibration block 2240 in a manner illustrated inFIG. 18B. The inventive control system uses accurate gain variation datameasured when the head is reliably positioned over center track, in highgain mode. First, at multiple radial head positions for a specific zoneand head, many values of (A+B)_(MEAS) are measured, and the measuredvalues averaged. Each point marked x in the top panel of FIG. 18Brepresents an average value for a given radial position and head. Foreach average data point thus calculated, a ratio is calculated in which(A+B)_(REF) is divided by (A+B)_(MEAS). This quotient results in the setof points illustrated in the lower panel of FIG. 18B, shown by circles.

Using standard curve approximation techniques, a set of approximatingcurves 2242, 2244 are determined. Preferably, the curve is a straightline approximation using least square error criteria, curves 2242, 2244being first-order (linear) approximation curves. The slope and theY-intercept of the straight line approximations are determined andstored as the α₁ and α₂ parameters described above. The foregoing stepsare repeated for each head and each zone on the disk, resulting indifferent values of α₁ and α₂ for each combination of zone, head, andradius.

According to the invention, the normalization of this gain variation maybe made repeatedly for a given disk drive. Thus, the gain factors in thelow gain normalization block 2220 are dependent on values derived duringa calibration period immediately before, and possibly also during,operation. The initial calibration and re-calibration are made inaccordance with principles described below.

Inverse Nonlinearity Compensation block 230

In addition to the gain normalization problems, the fractionalpositional error signal PES_(F) includes inherent nonlinearities whichare due to sources other than those described immediately above. Forexample, in known disk drives in general, the electrical width of theread/write heads is less than the physical width of the tracks. When thehead moves very slightly off-center, the sensor gain tends to varysubstantially linearly as a function of the displacement from centertrack. However, when the head approaches the edge of the track, thesensor "saturates", meaning PES_(F) no longer proportionately reflectsactual fractional positional error. Substantial nonlinearities develop.If left uncorrected, such nonlinearity degrades dynamic performance, andmay even introduce stability problems.

Additional undesirable nonlinearities are introduced by, for example,head fringe field effects.

Such nonlinearities are substantially determined by the design of thedisk drive. Therefore, in contrast to the normalization of sensor gainperformed by normalization block 220, these nonlinearities may bemodeled before manufacture and compensated for in the design of the diskdrive. FIG. 19 schematically illustrates the transfer function of apreferred inverse nonlinearity block 230 (also shown in FIG. 12) whichcompensates for this type of nonlinearities.

Briefly, the input to the inverse nonlinearity block 230 is thenormalized positional error signal PES_(N). The output of the inversenonlinearity block 230 is a linearized positional error signal PES_(L).The normalized positional error signal PES_(N) on the horizontal axis isdivided into four regions, 2302, 2304, 2306, 2308. The response of thePES_(L) output as a function of the PES_(N) input is shown by responsecurve 2310. Curve 2310 is substantially symmetric about the origin, sothat the curve need only be described with reference to regions 2306 and2308, with the recognition that corresponding description applies toregions 2304, 2302, respectively.

As described briefly above, when the normalized positional error signalPES_(N) indicates the head is close to the track center, PES_(L)exhibits a substantially linear response to PES_(N), and would not needto be compensated. However, as the head moves further from track center,nonlinearities become more apparent. As the head approaches the boundaryx in region 2306, the nonlinearity of the sensor response becomessignificant, and requires the nonlinear compensation shown in FIG. 19.The boundary between region 2306 and region 2308, labelled x on thePES_(N) axis, denotes the point at which the sensor "saturates", thesensor giving essentially meaningless information in region 2308.

In the region between center track and point x (typically 20-50% of atrack width, 40% in the preferred embodiment), the compensation functionfollows a curve which may be implemented as a second order (quadratic)equation. In particular, the equation may be:

    PES.sub.L =f(PES.sub.N)=A.sub.1 ·(PES.sub.N).sup.2 +A.sub.2 ·PES.sub.N +A.sub.3

in regions 2304, 2306, and

    PES.sub.L =PES.sub.N

in regions 2302 and 2308. The quadratic curve in regions 2304, 2306 ismade to be continuous with the portions of the curve in regions 2302,2308, through choice of these parameters. The parameters A₁, A₂, A₃ maybe readily determined empirically by those skilled in the art, based onperformance data made at the time of disk drive design.

Range Extender and Sample Integrity Tester 240

The range extender portion 2421 of FIG. 20A (elements 2422-2426) providea measurement of head position relative to a destination track, at anyradial position on the disk surface.

Generally, sampled position measurements are subject to error due tonoise. The sample integrity tester portions of FIG. 20A (coarse staticwindow calculator and tester 2420, fine dynamic window calculator andtester 2430, and selector 2410) filter out measurements that containlarge levels of noise. The integrity testers enable minimal area of thedisk to be dedicated to the servo positional sensor information bypreventing clearly erroneous measurements from contaminating loopcalculations.

Referring now to FIG. 20A, the sample integrity tester and linear rangeextender 240 are illustrated in greater detail than in FIG. 12. Block240 includes a selector 2410 which produces an interim positional errorsignal PES' on path 241. Selection logic 2410 determines PES'(k) fromamong two possible positional error signals. The first positional errorsignal input to selector 2410 is the positional error signal PES_(l)output by a coarse static window calculator and tester block 2420, PES₁being provided on a path 2421. The second positional error signal inputto selection logic block 2410 is a positional error signal PES₂,generated by fine dynamic window calculator and tester 2430, PES₂ beingprovided on a path 2431.

The output PES₁ of coarse static window calculator and tester 2420 ischosen to be either the observer's predicted PES_(P) on path 253, or alinearly extended positional error signal PES_(LE) on path 2427.PES_(LE) is output by an adder 2426, whose respective inputs areconnected to a BPT (bits per track) sensitivity multiplier 2422, and tothe output of a schematically illustrated switch 2424. The integerpositional error signal PES_(I) is input to the BPT sensitivitymultiplier on path 135. The linearized fractional positional errorsignal PES_(L) is input to switch 2424 on path 231.

Blocks 2422, 2424, and 2426 function as a linear range extender 2421 inthe following manner. When the distance between the head and adestination track is greater than a predefined number of tracks (forexample, 100), it is assumed that the head is traveling with such a highvelocity that the fractional portion of the positional error signal,PES_(L), does not accurately represent the head position. Therefore,when the head is greater than a predetermined number of tracks from thedestination track, switch 2424 is set to 0 by a coarse resolutioncontrol input, so that the switch's output does not contribute to thesummation performed by adder 2426. However, when the head approaches towithin the certain number of tracks of the destination track, switch2424 closes, allowing fractional positional error signal PES_(L) tocontribute to the summation performed by adder 2426.

BPT sensitivity multiplier 2422 multiplies the integer portion of thepositional error signal PES_(I) by a suitable number, for example, 263bits per track. Because PES_(I) is derived from TrackID gray codes inthe servo track (see FIG. 16), PES_(I) has units of "tracks". PES_(L)already has units of "bits". Therefore, after PES_(I) is multiplied by263 bits/track, the units of the two inputs to adder 2426 are the same("bits"), suitable for processing within the remainder of the servoloop. In this manner, the output of adder 2426, PES_(LE), is a linearlyextended positional error signal which expresses a positional error ofthe heads over the entire disk radius.

PES_(LE) is a definition of head position relative to the requesteddestination track, anywhere from the inside diameter (ID) to the outsidediameter (OD) of the usable disk surface. FIG. 20C illustrates themanner in which PES_(LE) is formed. The horizontal axis reflects radialposition on the disk surface, with half-track widths and full trackwidths marked off. The vertical axis represents the various positionalerror quantities. It is understood that FIG. 20C illustrates only twotrack widths, a small fraction of the radial extent of the disk, therebeing-thousands of concentric tracks on a typical disk.

In FIG. 20C, PES_(F) repeats with a period of one track width. Due tononlinearities in the measurement of the head position, the repeatedsegments F1, F2, . . . of the PES_(F) waveform are not straight segmentsat 45 degrees from the horizontal axis, as they would be in the absenceof nonlinearities. Instead, they illustrate the nonlinear measurementresponse discussed above, with reference to the inverse nonlinearitycompensation block 230 of FIG. 19. The area between the PES_(F) curvesF1, F2 . . . and 45-degree segments L1, L2 . . . respectively, reflectsthe compensation provided by the inverse nonlinearity compensation block230 of FIG. 19. Thus, the output of the inverse nonlinear compensationblock, PES_(L), is essentially represented by segments L1, L2 . . . .

The value of PES_(I), the integer portion of the positional errorsignal, is illustrated as the step function I1, I2 . . . in FIG. 20C.

PES_(F) and its linearly compensated value PES_(L) remain small, lessthan half a track width in magnitude, throughout the entire radialdimension of the disk. In contrast, TrackID increases linearly with theradial distance from a value of 0 at the outside diameter, to a value of2¹¹ -1 (for example) at the inside diameter.

When PES_(I) and PES_(L) are added by adder 2426 (FIG. 20A), the desiredmeasured value of PES_(LE) results, indicated by a 45-degree line whichextends from the inside diameter to the outside diameter of the disk.That is, ideally, PES_(LE) accurately reflects the position of the headanywhere on the usable surface of the disk, relative to the destinationtrack.

This comprehensive sensed head position is enabled by the gray codeTrackID which is provided in the servo fields extending radially on thedisk, between adjacent sectors. FIG. 16 illustrates the TrackID graycode identifying PES_(I). This sensed position over the entire diskradius is in contrast to known systems, in which a track number isembedded only in certain data fields. In known systems, the track numberembedded in the data field is read once and subtracted from thedestination track number. The difference is loaded into a counter. Thecounter is decremented each time the fractional positional error signalpasses through 0, indicating the head had come one track closer to thedestination track. However, the presence of noise causes errors, so thatthe value in the counter does not necessarily reflect the true number oftracks between the present head position and the destination track.

According to the present invention, in contrast, unique gray codedTrackID is written at each track, so that no counter is necessary. Thus,the servo's use of measured value of the linear extended positionalerror signal PES_(LE) is less subject to noise, especially in view ofpredictive values generated within full state observer 250 (describedbelow).

Referring again to FIG. 20A, if PES_(LE) falls outside a given window(determined as described below), a possible false measured value haspossibly been read. In this event, the observer's prediction PES_(P) isselected, rather than the linearly extended measured value PES_(LE).That is, PES₁ on path 2421 is set equal to PES_(P) from path 253. Thissubstitution causes the observer to operate in a "freewheel" mode duringthe sample period, so that the servo effectively operates as an openloop system. Under these circumstances, there is no correction of theobserver's predicted PES_(P), because this situation corresponds tounmodelled occurrences such as physical shock, which the observer cannotbe expected to predict.

In contrast, if the measured value PES_(LE) falls inside the coarsewindow (indicating no significant abnormalities in the positionmeasurement), PES_(LE) is chosen as the PES₁ output on path 2421. Underthese circumstances, correction of the observer's predicted error signalPES_(P) for the next sample period is performed in the usual manner. Topass PES_(LE) to PES₁, the test in the coarse static window requires:

    PES.sub.P -C(PES.sub.P)<PES.sub.LE <PES.sub.P 30 C(PES.sub.P)

where PES_(P) is the observer's predicted track ID and C(PES_(P)) is themagnitude of the allowable error. In a particular preferred embodiment,C(PESP) is a variable quantity. In particular,

    C(PES.sub.P)=C.sub.1, if PES.sub.P >250 tracks; and C(PES.sub.P)=C.sub.2, if PES.sub.P <250 tracks,

where C1 and C2 may be constants satisfying the relationship C₁ >C₂.

If the measurement falls outside the window thus determined, theobserver's prediction is substituted for the measurement and a spurioussample flag is set. The servo system is thus made less sensitive to themeasurement errors due to noise when the head is far from thedestination track, on the principle that ample time remains in the seektrajectory to recover from the measurement errors.

As stated briefly above, when the head's distance from the destinationtrack is greater than a predefined number of tracks, this distancecorresponds to a high head velocity which in turn prevents thefractional portion of the positional error (PESF) from accuratelyrepresenting the head position. The inaccuracy of PES_(F) resultsprimarily from the spatial relationship of the TrackID and the PES_(F)dibits in the servo field (FIG. 16). Thus, it is understood that, in theforegoing formulas, PES_(LE) may or may not include the fractionalportion of the measured positional error signal, depending on thedistance between the head and the destination track.

Operation of the fine dynamic window calculator and tester 2430 andassociated blocks 2432 and 2434 is now described. Briefly, the purposeof the fine dynamic window calculator is to provide testing windows formeasured PES samples when the heads are close to the destination track.The fine dynamic window calculator thus provides windows when the headvelocity is smaller, in contrast to the coarse static window calculatorwhich also operates when the heads are further from destination track,travelling faster. Furthermore, the fine dynamic window calculatorcalculates a plurality of progressively smaller (that is, dynamicallychanging) windows as the heads approach destination track center, basedon a feedback of the decreasing control effort.

The u"(k) signal on path 252, which was generated by the full stateobserver 250, is input to an absolute value block 2432. The output ofthe absolute value block 2432 is input to a low pass filter block 2434.The output of low pass filter block 2434 is input to the fine dynamicwindow calculator and tester 2430. Other inputs to fine dynamic inputwindow calculator and tester 2430 are the observer's predictedpositional error signal PES_(P) on path 253, and the coarse staticwindow calculator and tester's positional error signal PES₁ on path2421. The fine dynamic window calculator and tester 2430 provides itspositional error signal PES₂ on path 2431, which is input to selector2410. The control input to selector 2410 is a resolution signal,choosing PES₂ only when the system is in fine or mid resolution mode.

The dynamic window which block 2430 calculates, and which is applied tothe PES₁ and PES_(P) signals input to it, is a dynamic window. That is,the magnitude of the window varies as a function of time, determined bythe filtered absolute value of the second interim control effort u"(k).The output PES₂ is either (1) PES₁ or (2) PES_(P) ±CL, where CL is aclamping value determined below.

The timing diagrams in FIG. 20B show an exemplary set of waveforms foru"(k), for the output of absolute value block 2432, for the output oflow pass filter block 2434, and for the fine dynamic window aboutPES_(P). As illustrated in FIG. 20B, the second interim control effortsignal u"(k) decreases in magnitude as a function of time, generallyindicating a settling closer to the track center. Such a settlingwaveform is encountered as the system recovers from external shock orvibration, for example. Derivation of the outputs of blocks 2432 and2434 are readily apparent to those skilled in the art.

Finally, the inventive system provides for calculation of a window inaccordance with a formula which dynamically varies according toparameters a and b which are calculated as part of the environmentalspecification of the disk drive. In particular, the magnitude of errortolerated by the window function is expressed according to the formula:

    PES-(a·u.sub.2 +b)<PES.sub.1 <PES.sub.P +(a·u.sub.2 +b)

where PES_(P) is the observer's predicted PES, u₂ is the signal outputby the low pass filter block 2434, and a, b are coefficients definingthe dynamic magnitude of the window determined by the environmentalspecification of the disk drive. The clamping value CL referred to aboveis a·u₂ +b.

By dynamically defining the window as a function of control effort(which is in turn an indication of physical disturbance of the head),otherwise unmodelled physical disturbances do not interfere with thewindows' rejection of noise-corrupted samples. Therefore, the windowscause rejection of position measurements only when sensor noise (havinga higher frequency than physical disturbances) corrupts themeasurements. The operation of the dynamic window calculator and tester,in conjunction with selection logic 2410, minimizes the chances thatlower-frequency physical shock will be confused with sensor noise.

The selection logic block 2410 determines whether PES₁ or PES₂ issubsequently used by the full state observer 250 and integral controller270.

Full State Observer 250

Referring to FIGS. 21A and 22, the full state observer 250 isillustrated. Briefly, the main purpose of full state observer 250 is toprovide a 2-row by 1-column vector quantity x(k) to integral controller270. As described briefly above, with reference to FIG. 12, x(k) is avector quantity including PES(k) and VEL(k). Broadly, the vectorquantity x(k) is derived from the PES'(k) signal on path 241 from theintegrity tester and linear range extender 240 just described. Thevector quantity x(k) is also determined in accordance with secondinterim control effort signal u"(k) which is generated on FIG. 21A,which is in turn generated from the first interim control effort signalu'(k) fed back from integral controller 270 on path 271.

Referring first to FIG. 21A, a selector 2500 is provided, the output ofwhich is the second interim control effort signal u"(k) on path 252. Theinventive controller provides that the second interim control effortsignal u"(k) is usually the same as the first interim control signalu'(k). However, during the initial period of seeks in which the poweramplifier 116 (FIGS. 1A, 1B) is saturated and therefore harder to model,another control signal u_(S) (k), a "power amp saturated" control effortsignal on path 2520, is used.

The top panel of FIG. 21B illustrates the first interim control effortsignal u'(k) and the u_(S) (k) output from the power amp saturationmodel. These two signals are input to selector block 2500. The bottompanel illustrates the second interim control effort signal u"(k) whichis the output of the selector block 2500. Selector 2500 selects u_(S)(k) during the first portion of the seek, when u'(k)>u_(S) (k).Thereafter, it selects u'(k) when the u'(k) waveform crosses the u_(S)(k) waveform as it decreases, that is, when u'(k)<u_(S) (k).

Selector 2500 illustrates schematically the selection of either theu_(S) (k) output of a saturation model 2510 on path 2520, or the firstinterim control effort signal u'(k) on path 271. The control input toselector 2500 is driven by a latch block 2530 which determines whetherthe absolute value of the interim control effort signal u'(k) is greaterthan the absolute value of the saturation model 2510's output u_(S) (k).At the beginning of a seek, the latch 2530 is reset by a "seek" signal,so that the u_(S) (k) output of the saturation model 2510 is selected.However, several conditions can cause the latch to be set, selectingu'(k) to pass through selector 2500. Specifically, on short seeks, thecontrol effort u'(k) decreases very quickly, so that it soon becomessmaller in magnitude than u_(S) (k). Alternatively, on longer seeks, thepower amplifier is out of saturation long enough so that the systemoperates linearly as it approaches destination track.

As appreciated by those skilled in the art, the slower rise time of theu_(S) (k) signal models the inductive effect of the coil in the diskdrive actuator. Similarly, the downwardly sloping portion of the u_(S)(k) pulse top closely models the back EMF phenomenon observed in suchcoils. When the effects of the coil inductance and back EMF aremodelled, the predictive abilities of the state predictor (shown in FIG.22) and the operation of the integrity tester (shown in FIG. 20A) areenhanced, even during the initial portions of a seek.

The model envisioned by the present invention need not be limited tomodelling saturation characteristics of power amplifiers which drivevoice coils. More generally, the invention envisions a model producing amodelled waveform which would otherwise be difficult for a servo systemto predict and track.

The preferred saturation model 2510 is implemented as follows. A maximumvoltage value, indicated at 2511 is multiplied by the sign of u'(k) atmultiplier block 2512. The signed maximum voltage is input to thenon-inverting input of an adder 2513. The VEL(k) value from the currentobserver on path 251 is multiplied by a back-EMF multiplier 2514, themultiplied K_(bemf) ·VEL(k) value being input to the inverting input ofadder 2513. Adder 2513 provides its sum to a second adder 2514, as wellas to a feedforward multiplier block 2515. Adder 2514 drives a delayblock 2516, which delays the sample by one sample period, in accordancewith conventional Z-transform theory. The output of delay block 2516drives a second multiplier block 2517, as well as a feedback multiplierblock 2518. Feedback multiplier block 2518 feeds the second input toadder 2514. The outputs of multiplier blocks 2515 and 2517 are input toa third adder 2519, which produces u_(S) (k), to the output of thesaturation model 2510.

Blocks 2514-2519 effectively comprise a low pass filter which accuratelymodels the inductance and resistance of the actuator coil. The nonlinearoperation of a real-world plant is thus effectively modeled, even duringthe initial portions of a seek when a plant would normally be difficultto model.

The full state observer illustrated in FIG. 22 implements currentobserver functions, using difference equations in a full state model.Observers in general are known to those skilled in the art, and thegeneral concept need not be further described here. A particularpreferred implementation of an observer, a full state current observerwith positional error and velocity state variables, is described.

Very briefly, a predicted value of the state is generated, and acorrection term is produced to correct it. The correction term providescorrection for any steady state error which would erroneously cause anout-of-window detection when the head is in fact stably aligned overcenter track.

Referring now more specifically to FIG. 22, the second interim controleffort signal u"(k) on path 252 fans out to two delay blocks 2541, 2542.Delay block 2541 is a single-period delay block, whereas delay block2542 is a two-sample delay block functioning in accordance withconventional Z-transform theory. Delay blocks 2541, 2542 produce delayedsecond interim output signals which are input to Γ_(P0) vectormultiplier block 2543 and Γ_(P1) vector multiplier block 2544,respectively. The outputs of multiplier blocks 2543, 2544 are 2×1vectors input to an adder 2545. Adder 2545 receives a third 2×1 vectorinput from a 2×1 matrix multiplier block 2546, described below. Theoutput of adder 2545 is a 2×1 state variable x_(P) (k). The variablex_(P) (k) may be considered a predicted value of state variable x(k).More conceptually, the purpose of elements 2541-2544 is to calculate thedelays inherent in measurement, allowing them to be compensated for incalculating predicted values of the state variables.

Observers are typically used to model the unmeasured phenomena in theplant under control; however, they are also valuable in providing a lownoise estimate of a state that is measured (such as PES) when the sensoris particularly noisy. The present disk drive's window algorithmsdetermine when the head position is reliably on track center so that thePES is maintained in the respective window. The observer's positionalestimate is used for the window function, in order to prevent sensornoise from erroneously causing an out of window detection. Due to theextremely small write window (for example, ±4% track), it is imperativethat the observer's PES not have a steady state error component.

The present invention includes two techniques to eliminate thispotential steady state error problem. First, an integral function isimplemented in the observer to provide infinite gain at DC, thuscompletely eliminating the DC offset. Second, the D.C. component of thecontrol effort from the integral controller function (which is thesource of the steady state error in observers) is routed to bypass theobserver. This significantly reduces the observer's integrator transientsettling time.

Referring again to FIG. 22, the interim positional error signal PES'(k),a scalar entity from the sample integrity tester and linear rangeextender 240, passes on path 241 to the non-inverting input of an adder2550. The inverting input of adder 2550 is connected to the output of aC_(P) multiplier 2551. Multiplier 2551 multiplies predicted 2×1 statevariable x_(P) (k) by a 1×2 coefficient C_(P) to yield a scalarsubtraction term for adder 2550.

The output of C_(P) multiplier is the predicted positional error signalPES_(P) (k) on path 253 which is used by the integrity tester in block240 (FIG. 20A). PES_(P) (k) is also input to a 1/BPT ("bits per track")units adjusting multiplier 2553. Multiplier 2553 provides a scaledPES_(P) (k) (having units of "track") to an adder 2554. Adder 2554 addsthe scaled PES_(P) (k) with the requested track to form the predictedtrack ID, TrackID_(P), on path 254 which is used by low gainnormalization block 220 and integral controller 270.

The difference resulting when subtracting the scaled predicted statevariable x_(P) (k) from the interim positional error signal PES'(k) maybe thought of as an observer error e(k).

Observer error signal e(k), a scalar quantity, is input to a lowfrequency integrator 2560. The present invention advantageously provideslow frequency integrator 2560 not present in known observers. Integrator2560 removes steady state error from the system by providing acorrection term which provides theoretically infinite gain to a DCinput. More specifically, it removes DC offset between the measuredpositional error signal PES' input to the observer on path 241, and theestimated positional error state variable PES output on path 251. Thelow frequency integrator 2560 includes a scalar adder 2561, a one-sampledelay block 2562, and a 2×1 vector multiplier block 2563. Adder 2561receives the observer error signal e(k) and the output of delay block2562 to produce x_(i) (k+1). The output of delay block 2562, x_(i) (k),is input to a 2×1 vector multiplier 2564. D_(i) vector multiplier block2563 receives e(k). The respective 2×1 outputs of vector multipliers2563, 2564 are input to vector adder 2565, which forms the 2×1 outputE(k) of low frequency integrator 2560.

The 2×1 E(k) output of low frequency integrator 2560 is input to a 2×2K_(CC) multiplier 2567 which provides an amplitude adjustment to E(k).The output of multiplier block 2567 is the 2×1 correction term whichadder 2570 adds to the predicted state value x_(P) (k). Adder 2570receives the predicted value x_(P) (k) and the correction term frommultiplier block 2567, to produce a 2×1 corrected prediction. Thecorrected prediction is input to both a delay/identity multiplier block2571, and to a multiplier block 2572. The output of delay/identitymultiplier block 2571 is input to multiplier block 2546, mentionedabove. The multiplier block 2572 multiplies the corrected prediction bya value C_(C). The output of multiplier block 2572 constitutes thevector quantity x(k), which is output to the integral controller.

The equations governing the observer structure shown in FIG. 22 are nowdiscussed. The difference equation describing the dynamics of the plant(power amplifier, actuator, sensor) can be calculated from theelectrical and mechanical parameters of the plant.

    X.sub.p (k)=ΦX.sub.e (k-1)+Γ.sub.0 u"(k-1)+Γ.sub.1 u"(k-2)

where ##EQU2## The observer error equation is:

    e(k)=PES'(k)-C.sub.p X.sub.p (k)

The integral state equation is:

    x.sub.i (k+1)=x.sub.i (k)+e(k)

The observer error equation with integral term is:

    e.sub.i (k)=e(k)+αx.sub.i (k)

where

α=T_(s) 2πf_(i) in high gain mode, and

α=0 in low gain mode

where T_(s) is the sample period between servo fields, and f_(i) is thebreak frequency of the integrator.

The resulting error term E(k) in matrix form is:

    E(k)=C.sub.i x.sub.i (k)+D.sub.i e(k)

where ##EQU3## The observer correction term is:

    X.sub.c (k)=X.sub.p (k)+K.sub.o E(k)

where where k_(c1) and k_(c2) are predetermined scalars definingobserver frequency response. ##EQU4##

The observer output equation is:

    x(k)=C.sub.c X.sub.c (k)

The predicted track ID (TrackID_(p)) is calculated from PESp, thepredicted value of the positional error signal, as shown in FIG. 12:

TrackID_(P) =RequestedTrack+PES_(P) ·1/BPT

Determination of values for the various parameters in FIGS. 21A and 22lies within the ability of those skilled in the art, in accordance withconventional state space controller theory as presented, for example, inKatauhiko Ogata's textbook Discrete Time Control Systems (Prentice-Hall,1987). The present invention improves on the known theory by providingdynamic scaling of the parameters, as described below.

Settling Window Detectors 260

FIG. 23B illustrates schematically functional blocks used in a preferredwindow detector block 260 (FIG. 12). In particular, the illustratedwindow detector is especially suitable for demonstrating operation ofthe high gain window (FIG. 12 path 261), the integrator window(governing FIG. 24 switch 2748), and the read window. The write window,being more complex, is described below, with reference to FIG. 23C.

FIG. 23B is more easily understood with reference to the waveform inFIG. 23A. In FIG. 23B, the processed positional error signal PES, isinput to an absolute value block 820 so that the magnitude of thepositional error signal is considered. The magnitude of PES is input totwo threshold detectors 822, 832. First threshold detector 822determines whether the magnitude of PES is less than the low window,x-(x_(HYST) /2) (see FIG. 23A). When the magnitude of PES exceeds thelow window, it sets down counter 824, loading a settling valueproportional to T_(settle) on path 828. During each sample period, timedby a clock signal on path 826, the down counter 824 is decremented byone. Of course, if the magnitude of PES continues to be greater than thelow window, the value of the down counter is repeated set to the loadedvalue of T_(settle) so that the down counter does not approach itsunderflow value. However, when the magnitude of PES falls below the lowthreshold (indicating the heads are approaching the destination track),the clock signal on path 826 decrements the down counter until itunderflows, outputting an underflow value on path 830. The underflowsignal on path 830 is received by a "set" input of a settling detector836, whose output on path 840 determines whether settling has beencompleted. Subject to the signal at its "reset" input (described below),when detector 836 receives the underflow signal from down counter 824,its window signal on 840 is activated.

The magnitude of PES is also compared to the high window x+(x_(HYST) /2)(see FIG. 23A) by threshold detector 832 (FIG. 23B). The output ofthreshold detector 832 provides a reset signal to the settling detector836. As long as the magnitude of PES is greater than the high threshold,the output path 840 of settling detector 836 is maintained in itsinactive state, indicating the heads are not positioned within the givenwindow about center track.

The above-described blocks describe in general terms the settling ofheads about a destination track. Further details of sequential methodsof window detection are provided in the SETTLING WINDOW DETECTIONROUTINES description.

In the second embodiment, the foregoing description relates especiallyto the high gain window, the integrator window, and the read window.However, because of the write window's importance in determining when itis safe for the head to write information onto the surface of the disk,it is more complex. Special reference is made to FIG. 23C, whichembodies six tests for the write window, the tests being labelled851-856. The contents of each of the test blocks is easily understood byreference to the description of the LOW GAIN WINDOW routine, providedelsewhere in this specification. No further description need be providedhere. However, the "window" block 853, and the window block within block854, are understood to be implemented substantially as described withrespect to FIGS. 23A and 23B.

The respective outputs of each of the test blocks 851-856 are input to aschematically illustrated six-input AND gate 850. The window at theoutput of AND gate 850 is active only when all its inputs are active.AND gate 850 illustrates how, if any of the tests 851-856 fail, thewrite window output becomes inactive.

The write window generation method according to the present invention issensitive to predicted movement of the heads away from center track, andnot simply the present position of the heads. Of course, it lies withinthe contemplation of the invention that fewer than all the test 851-856may be employed to determine the write window, or that one or more ofthe tests 851-856 may be applied to windows other than the write window.

Integral Controller 270

FIG. 24 illustrates the integral controller 270 in greater detail thanFIG. 12. Briefly, the integral controller 270 is implemented in a statefeedback configuration, with integral control, receiving and processingpositional error and velocity state variables. The preferred embodimentof the integral controller additionally has several enhancements whichoptimize controller performance, as described below.

The purpose of the controller is to receive the x(k) state variables(PES(k) and VEL(k)) from observer 250, the processed positional errorsignal PES'(k) from the sample integrity tester 240, and the predictedtrack signal TrackIDP from the full state observer, and provide thefinal control effort u(k) to digital-to-analog converter 114 (FIGS. 1A,1B) on path 112, as well as provide an interim control effort signalu'(k) to the full state observer 250.

The state estimate signal x(k) is input to a state feedback controllergenerally indicated as 2710, which may be of conventional design. Theestimate PES(k) is input to a transfer function block 2712, whichcompensates for the nonlinearity due to finite maximum control effort.This compensation, the transfer function of which is shown in FIG. 25,is performed in a manner known to those skilled in the art. Transferfunction block 2712 provides a reference velocity to the non-invertinginput of an adder 2714. The inverting input of adder 2714 receives thestate estimate VEL(k) from the full state observer. This quantity isconsidered a feedback velocity which is subtracted from the referencevelocity, the adder 2714 producing a difference which is considered avelocity error e_(v) (k) which is used during both tracking and seekingoperations.

The velocity error e_(v) (k) is input to both a multiplier block 2762,and to an intermediate seek length compensator 2760. The output ofmultiplier block 2762 is input to a second adder 2764, whose outputu_(a) (k) is also used by the intermediate seek length compensator 2760.The details of intermediate seek length compensator 2760 are providedbelow, with reference to FIGS. 28A, 28C, and 28B.

Intermediate seek length compensator 2760 provides the first interimcontrol effort signal u'(k) to observer 250 on path 271, as well asproviding a first input to a third adder 2766. Third adder 2766 adjuststhe interim control effort signal u'(k) with further signals on paths2749 and 2751 in a manner to be described below, to produce the finalcontrol effort signal u(k) which is output to the digital-to-analogconverter 114 (FIGS. 1A, 1B).

Meanwhile, the processed positional error measurement signal, PES'(k) onpath 241 is input to both a single track seek feedforward controller2720, as well as to an integral control effort block 2740. Single trackseek feedforward 2720 produces a feedforward compensation signal on path2721 to the second input of adder 2764. Thus, the single track seekfeedforward controller affects both the interim control effort signalu'(k), as well as the final control effort signal u(k). The details ofthe single track seek feedforward controller are described in greaterdetail below, with reference to FIGS. 26A and 26B.

Integral control effort block 2740 includes an adder 2742 which receivesthe processed positional error signal PES'(k) from the sample integritytester 240. The output of adder 2742 is input to both a switchedfeedback delay block 2744, as well as to a K_(i) coefficient multiplierblock 2746. The output of the switched feedback delay block 2744 isinput to the second, non-inverting input of adder 2742. The output ofmultiplier block 2746, u_(i) (k), is the integral control effort. Theintegral control effort u_(i) (k) compensates for DC bias forces actingon the plant, such as physical pressure exerted on the actuator by theflex cable.

The integral control effort u_(i) (k) is used only when the heads areclosely approaching center track. Otherwise, the integral control effortsignal is prevented from affecting the final control effort signal u(k),illustrated schematically by a "switch" 2748 between the output u_(i)(k) of integral control effort block 2740 and adder 2766. Controlled bythe integrator window, switch 2748 is "closed" only when the heads arestably settled within a predetermined distance of the tracks (±40%, forexample), but is "open," for example, during the majority of a seekbefore settling occurs. Accordingly, the resolution signal closes theswitch only when the system is in fine resolution mode or linear midresolution mode.

Inside the integral control effort block 2740, the feedback delay block2744 effectively has an initial condition (IC) set function performed by"momentary switch" 2743 immediately before switch 2748 is closed.Setting the initial condition of the integral control effort block thusassures that any supposed "DC bias" measured during the early of a seekdoes not contribute to the control effort signal as the heads closelyfollow the destination track. The initial condition reset function isschematically illustrated as a switch 2743 at the input to feedbackdelay block 2744, the switch being set to 0 momentarily, immediatelybefore switch 2748 is closed.

Bias feedforward controller 2750 receives u_(i) (k) from the integralcontrol effort block 2740, as well as receiving TrackID_(P) on path 254from the full state observer 250. Briefly, during a calibrationoperation, bias feedforward controller 2750 monitors u_(i) (k) todetermine necessary bias compensation, and during operation providesthat compensation for any bias force acting on the heads. Duringoperation, the bias feedforward compensation provided on path 2751 isthus an ideal compensation, so that the value of u_(i) (k) duringoperation on path 2749 is reduced to near 0. The bias feedforwardcontroller is calibrated or dynamically recalibrated, in a mannerdescribed below, with reference to FIG. 27.

Both (1) the switched outputs of the integral control effort u_(i) (k)on path 2749, and (2) the bias feedforward compensation signal on path2751, affect only the final control effort signal u(k) on path 112. Theydo not affect the interim control effort signal u'(k) on path 271 whichis used by full state observer 250. The integral control effort u_(i)(k) is summed with the state feedback control effort after the pointfrom which the observer taps off the control effort u'(k). Thisarrangement minimizes the observer's steady state error when theobserver's low frequency integrator (LFI) 2560 is disabled (in low gainmode), while also minimizing the associated settling time for the LFI toestablish the steady state value after turn on (in high gain mode).

Referring now to FIG. 26A, control effort pulses generated duringoperation of the single track seek feedforward controller 2720 areillustrated. As is readily appreciated by those skilled in the art,commands for single track seeks (seeks to an immediately adjacent track)are very often encountered during operation. Such single-track seekcommands are encountered successively in situations when a large blockof data stored on adjacent tracks is read or written, as when accessingtext files. Because of the high frequency of occurrence of single trackseeks, the present invention provides a special single track seekfeedforward controller block to minimize the seek time, therebysubstantially enhancing overall disk drive performance.

As shown in FIG. 26A, the profile of a single track seek control effortsignal includes an acceleration pulse 2722 followed by a decelerationpulse 2724. The single track feedforward profile on path 2721 (FIG. 24)is defined explicitly in terms of a parameter set including: (1) themagnitude of the acceleration pulse, (2) the duration of theacceleration pulse, (3) the magnitude of the deceleration pulse, and (4)the duration of the deceleration pulse. The calibration algorithm findsthe optimal parameter set to use for the feedforward control effortprofile (FIG. 26A). A matrix of parameter values are tested to determinethe optimal set.

The single track feedforward function is a function of the variousindividual heads in the disk drive, as well as the radial position ofthe tracks involved in the single track seek. For each of the variousheads and radial positions, the shape of the single track feedforwardprofile 2721 is chosen so as to minimize a cost function. The costfunction may be expressed as: ##EQU5##

where

N represents "settling time", the number of samples required to stablysettle the heads within a given window about the destination trackcenter;

|PES'(k)| represents the area beneath the PES' graph which in turnrepresents overshoot; and

α and β are designer-chosen weighting parameters which determinerelative weighting of the overshoot and settling time considerations.

After an optimal parameter set is found and stored, the performance ofthe single track seeks are continually monitored and compared to theoriginal optimal cost from the previous calibration. If the systemchanges (due to variations in temperature or component wear, forexample) the DSP detects that the cost exceeds the optimal by apredefined threshold, and issues a request to perform a new calibration.

The single track seek feedforward controller 2720 may be schematicallyillustrated as shown in FIG. 26B. The single track seek feedforwardpulse generator 27200 includes a unity source 27201 feeding both ana_(L) multiplier 27202 and a d_(M) multiplier 27203. Outputs ofmultipliers 27202 and 27203 are input to respective select inputs of aselector 27204. The select input of selector 27204 is connected to anacceleration/deceleration pulse detection block 27205 which determineswhen an acceleration pulse ends and a deceleration pulse begins, inresponse to the measured positional error signal PES'. Finally, a switch27206 connects or disconnects the output of selector 27204 to the outputof the single track feedforward controller, on path 2721. Briefly, themagnitude a_(L) determines the magnitude of the acceleration pulse,while d_(M) determines the magnitude of the deceleration pulse, thetiming division between which is determined by block 27205. Thebeginning of the acceleration pulse, and the end of the decelerationpulse are determined by the timing of the control input to switch 27205.The control input to switch 27205 is determined by logic governing theduration of the acceleration and deceleration pulses.

The values of the parameters a_(L) and d_(M) are determined as follows.First, a performance measurement block 27210 determines a cost functionon path 27211 for a variety of different possible acceleration anddeceleration pulse heights and durations. In particular, performancemeasurement block 27210 includes an absolute value block 27212 in serieswith a summation block 27213 and an α multiplier 27214, which feeds anadder 27215. The PES' signal feeds the absolute value block 27212through a switch 27216 enabled by the single track seek flag. In aparallel path, sample clock pulses are counted by a counter 27217 whenenabled by a switch 27220 governed by the single track seek flag. Theoutput of counter 27217 is placed in a hold register 27218 which in turnhas an output multiplied by a β multiplier block 27219. The outputs ofthe α multiplier block 27214 and β multiplier block 27219, respectivelyindicating overshoot and settling time in the cost function, are addedby adder 27215 to arrive at cost value on path 27211. The cost value isa function of different indices used for permutations of differentmagnitudes and durations of the acceleration and deceleration pulses.

A decision block 27410 determines whether a single track seekfeedforward controller calibration is in progress. If a calibration isnot in progress (indicating the controller is actually operating), theDSP determines whether the present cost is greater than an optimum cost(as previously determined plus an allowable variation A) as indicated byblock 27411. If the present cost exceeds the optimum cost plus thevariation A, the DSP concludes that the present calibration values havesufficiently deteriorated from optimum to request that the master issuea recalibration command at block 27412.

However, if the DSP determines that a calibration is in progress, itdetermines whether the present cost function is less than the optimumcost heretofore accumulated, as indicated by block 27413. If the presentcost is less than the optimum cost, the optimum cost is set to thepresent cost, and the new parameters α_(L) and β_(L) replace theprevious optimum parameters, as indicated by block 27414. Control passesto block 27415.

However, if the present cost is not less than the optimum cost hithertocalculated, the replacement block 27414 is skipped, and control passesdirectly to block 27415. Block 27415 determines whether the presentcalibration is complete. If the present calibration is complete, the DSPexits the calibration routine and sets the calibration complete flag,indicated in block 27416, before returning to the calling routine.However, if the calibration is incomplete, control passes to block27417. In block 27417, the indices of the a_(L) and d_(M) parameters arechanged, to allow testing of a new permutation of values. They arestored in respective blocks 27202 and 27203 in the pulse generationblock 27200.

Referring now to FIG. 27, the operation of the bias feedforwardcontroller 2750 is illustrated. A primary advantage of providing thebias feedforward controller 2750 in conjunction with the integralcontroller 2740 is a significant reduction in transient dynamics whenthe integral controller is switched on or off.

As shown in FIG. 27, each data point x represents an average of variousvalues u_(i) (k) output during a calibration period by integral controleffort block 2740 (FIG. 24), for a given track position on thehorizontal axis. The averaged values are plotted as a function of track,between the outside diameter (OD) and the inside diameter (ID). Theplotted averaged integral control effort signals are joined by asuitable curve, indicated by the lines connecting the plotted points. Ina preferred embodiment, the fitted curve may be a piecewise linearapproximation joining the plotted points. Thus, within various radialsegments of the disk, the bias feedforward compensation signal BFF onpath 2751 is modeled by a linear interpolation, the totality of the biasfeedforward control function thus being a piecewise linear approximationof the average bias compensation effort required.

Because the horizontal axis in FIG. 27 is the TrackID_(P), the biasfeedforward controller stores sets of linear equation variables β₁ andβ₂ as a function of TrackID_(P). The bias feedforward function isdefined in a piecewise combination of line segments defined in thefollowing manner:

    BFF=β.sub.1 (TrackID.sub.P)·TrackID.sub.P +β.sub.2 (TrackID.sub.P)

The β₁ and β₂ values are stored in a table during the calibrationprocess, and are called up for use according to the above formula when aparticular TrackID_(P) is encountered during operation.

Ideally, because the bias feedforward signal on path 2751 shouldcompensate for the bias effects originally detected by integral controleffort block 2740 during calibration, the "residual" integral controleffort u_(i) (k) (FIG. 24) should be essentially 0 during operation.However, the DSP monitors the residual integral control effort u_(i) (k)to determine if a recalibration is necessary. Recalibration is often aresult of factors such as the plant changing due to temperature, time,component wear, and so forth. Should the residual control effort u_(i)(k) exceed a certain threshold during operation, the β₁ and β₂ valuescan be re-calibrated dynamically. The re-calibration is accomplished asduring the initial calibration: by repeatedly positioning the heads,performing measurements of the bias using integral control effort block2740, averaging the values determined thereby, and storing new values inthe β₁, β₂ table.

The intermediate seek length compensator 2760 is illustrated in FIG.28A. Intermediate seek lengths are those which are long enough torequire large magnitudes of coil current, but whose time durations arenot sufficiently long to allow the power amplifier to recover fromsaturation before arriving at the destination track. Thus, a seek isdeemed "intermediate" if the seek is long enough to cause the plantpower amplifier 116 (FIGS. 1A, 1B) to become voltage-saturated, but notlong enough for the power amplifier to recover from saturation so theplant can follow its prescribed profile.

A problem of concern in intermediate length seeks is due to the finitesupply voltage and the coil inductance. The problem which is encounteredin seeks of intermediate length causes system performance shown bywaveforms illustrated in FIG. 28B.

Referring more specifically to the graphs shown in FIG. 28B, the toppanel illustrates the reference velocity profile with the feedbackvelocity. The middle panel of FIG. 28B illustrates the control effortu(k) as a function of time, showing a substantially square accelerationpulse followed by its substantially square deceleration pulse. Finally,the bottom panel of FIG. 28B illustrates the actuator coil's currenti(t) as a function of time. The slow rise time due to inductance in thecoil, and the slowly decaying top of the pulse due to back EMF, areevident in the waveform.

During an intermediate length seek, the feedback velocity passes overthe reference velocity profile at a crossover point C. The feedbackvelocity exceeds the reference velocity profile for a substantial timeafter the crossover point C, indicated by an "overshoot" area. Thiscauses a reduction in performance due to undesirable physical overshootof the destination track by the heads. This overshoot effectivelyextends the settling time of the heads, slowing overall disk driveperformance.

The problem shown in FIG. 28B is not encountered in very short seeks,because the power amplifier never becomes saturated, allowing acceptablyclose modeling of plant performance. Short seeks do not require largemagnitudes of coil current, so that the finite voltage limit dues notprevent the power amplifier from delivering the required coil current.

The problem shown in FIG. 28B is also not encountered in very longseeks, because the saturation of the power amplifier has been overcomethrough passage of time, allowing the overall plant performance to bemodeled with acceptable accuracy. More specifically, whereas long seeksdo require large coil current magnitudes which result in voltagesaturation during acceleration and at the transition from accelerationto deceleration, the time duration of the deceleration phase of the seekis sufficiently long to allow the power amplifier to recover fromsaturation and operate in the linear mode to deliver the required coilcurrent well in advance of the arrival at the destination track.

Briefly, the intermediate seek length compensator is preprogrammed torecognize intermediate seek lengths as being between 25 and 125 tracksaway from the current head position. The compensator continuouslymonitors the velocity error during the acceleration phase of the seek.When (1) the magnitude of the velocity error (reference velocity minusfeedback velocity) decreases to an optimally predefined threshold, and(2) the control effort is still in the acceleration phase, then theacceleration control effort is clamped to a fraction of the maximumvalue (for example, 25%) for the remainder of the acceleration pulse.This clamping causes the coil current to decrease prior to thedeceleration pulse. When the deceleration phase begins and the controleffort requests that the coil current transition from the accelerationpolarity to the deceleration polarity, the voltage (v=L·di/dt) requiredis less than would have been required had the clamp not been exercised,because di/dt is now smaller. A significant reduction or elimination inthe duration of the voltage saturation results, which enables the servosystem to optimally guide the head to the destination track in minimaltime.

Referring more specifically to FIG. 28C, the intermediate seek lengthcompensator 2760 according to the present invention alters the controleffort function u(k) from FIG. 28B so that it is clamped during thefinal portion of the acceleration pulse. As illustrated in the middlepanel of FIG. 28C, the acceleration pulse is reduced in value from itsmaximum value u_(MAX) to a clamped value u_(CL) during a clamping periodT_(CL) at the end of the acceleration pulse. By forming the firstinterim control effort signal u'(k) in this manner, the overshoot of thefeedback velocity with respect to the reference velocity profile isminimized. The reduction in overshoot is illustrated by a comparison ofthe respective top panels of FIGS. 28C and 28B. By so modifying thecontrol effort signal, the coil current is modified so that it has awaveform shown in the bottom panel of FIG. 28C.

The manner in which the clamping of the control effort signal isachieved is shown schematically in FIG. 28A. The output of adder 2764(FIG. 24), u_(a) (k), is input to a clamping block 2770. A selector 2772selects the u_(a) (k) input signal in its "normal" position, before andafter the clamping period T_(CL) (FIG. 28C). During the clamping period,selector 2772 selects the output of the clamping block 2770. Control ofthe selector 2772 is determined within schematically illustrated switchlogic block 2774.

Switch logic 2774 is thus responsive to the u_(a) (k) signal on path2765, as well as to the velocity error signal e_(V) (k) on path 2715from adder 2714 (FIG. 24). The switch logic 2774 activates selector 2772only during seeks of intermediate length, the responsiveness to the seeklength being schematically indicated by the presence of a seek lengthinput 2776. The length of the seek is ultimately determined by commandsreceived through command register 162 (FIG. 1B) in a manner readilyappreciated by those skilled in the art.

Re-calibration

The portions of the preferred servo system which are calibrated, andcapable of re-calibration, include the offset correction block 2102, thelow gain normalization block 2240, the single-track seek feedforwardcompensator 2720, and the bias feedforward controller 2750. According tothe present invention, any block which may be calibrated, may also bere-calibrated during operation. Re-calibration during operation ensuresthat overall system performance may be continually optimized, even inthe presence of such factors as component aging, temperature variation,changes in physical orientation of the disk drive, and so forth.

FIG. 29 schematically illustrates the manner in which a givencompensation or correction block may be re-calibrated during operation.The compensation or correction block may be any of those four mentionedspecifically, or, conceivably, any other block which a designer may findit advisable to dynamically re-calibrate.

During operation of the servo system, a suitable performance parameter,indicated as an input on path 2802, is examined. What the suitableperformance parameter is, varies with the particular calibration blockunder consideration. For example, if the offset correction block isunder consideration, the performance parameter is a measured offsetvalue. If the calibration block under consideration is the low gainnormalization block, the performance parameter is a measured variationaway from the predicted nonlinear gain if the calibration block underconsideration is the single-track seek feedforward compensator, theperformance parameter is the cost function as measured in FIG. 26C. Ifthe calibration block under consideration is the bias feed forwardcontroller, the performance parameter is the residual control effortu_(i) (k) output by the integral control effort block 2740.

The DSP takes the absolute value of the performance parameter in block2810, and subjects a series of such absolute values to a low pass filterfunction, schematically illustrated as 2812. The low pass filter ensuresthat a single abnormal measurement does not cause re-calibration. Thepurpose of blocks 2810 and 2812 is to ensure that the magnitude of ameaningfully quantity of measured performance parameters are considered.

At block 2814, the DSP compares the variation from ideal of the filteredabsolute values of the performance parameter to a predefined performancetolerance. The tolerance to which the filtered absolute values arecompared, varies with the particular calibration block underconsideration. For example, if the offset correction block is underconsideration, the tolerance is an offset variation. If the calibrationblock under consideration is the low gain normalization block, thetolerance is tolerance of gain away from the predicted nonlinear gain.If the calibration block under consideration is the single-track seekfeedforward compensator, the tolerance is a cost function variationvalue Δ as described with respect to FIG. 26C. If the calibration blockunder consideration is the bias feed forward controller, the toleranceis a maximum allowable variation of residual control effort u_(i) (k)output by the integral control effort block 2740.

If the filtered absolute value of the performance parameter is less thanor equal to the allowed tolerance away from an ideal value, then the DSPcontinues in its processing without requesting re-calibration, indicatedby block 2818. However, if the filtered absolute value of theperformance parameters is greater than the allowed tolerance away fromthe ideal value, then the DSP requests the master issue a re-calibrationcommand. The request for re-calibration, indicated as block 2816, ispassed through the status buffer 160 (FIG. 1B) in the form of a statusword indication. In response, the master may find issue a re-calibrationcommand to cause the particular block under consideration to bere-calibrated.

In this manner, the present system can adaptively compensate for suchfactors as component aging, temperature variation, changes in thephysical orientation of the disk drive, and so forth, to continuallyoptimize the disk drive's performance.

Dynamic scaling of parameters

According to a preferred embodiment, the values of various parameters inthe firmware are dynamically scaled. That is, the values of certainparameters, previously described as being "constant", may collectivelychange under certain circumstances. According to dynamic scaling, thevalue of the parameters is determined by the expected range of datamagnitude which are encountered at any given time. For example, in thefull state observer 250 in FIG. 22, the parameters Γ_(p0), Γ_(p1),Φ_(p), C_(p), and C_(c) in blocks 2543, 2544, 2546, 2551, and 2572,respectively, collectively take on differently scaled sets of values,depending on the value of the PES and velocity signals. Similarly, inthe integral controller 270 in FIG. 24, the scalar multiplier f(PES(k)),K, K_(i) in respective blocks 2712, 2762, and 2746, are similarlydynamically scaled.

The advantage of dynamic scaling is better understood by a recognitionthat, in the preferred embodiment, a digital signal processor isimplemented using 16-bit integer arithmetic. Words of 16-bit lengthprovide adequate resolution only over a given range of measured values,inasmuch as they can represent numbers ranging from 0 through 65,536₁₀.However, the velocity and position measurements which are of concernthroughout the DSP control system as a whole (FIG. 12) take on valueswhich exceed the dynamic range capable of representation with only 16bits. A processor with larger word size could be used; however, thiswould result in increased cost. Alternatively, floating point arithmeticcould be employed; however, use of floating point arithmetic issubstantially more expensive. Therefore, the present invention combinesthe speed and simplicity of integer arithmetic with the advantages ofaccuracy which follow from an extended dynamic range of parametervalues.

According to the present invention, a plurality (preferably three)resolution modes are provided: fine resolution mode, mid resolutionmode, and coarse resolution mode. The above list of parameters thus maythus take on three different sets of values: fine resolution values, midresolution values, and coarse resolution values. Each different set ofvalues corresponds to one of the resolution modes. The mid resolutionmode may be divided into linear and non-linear modes for some purposes,as illustrated in FIG. 15.

At any given time, only one of the three parameter sets are used in thementioned functional blocks shown in FIGS. 22 and 24. The choice ofwhich of the three parameter sets is made by reference to the magnitudeof the positional error signal and the velocity state signal.

For simplicity, the positional error signal is first considered inisolation. If the positional error signal indicates the head is lessthan (for example) 0.08 track from the destination track, the controlleris in the fine resolution mode, and the fine resolution parameter set isused in the mentioned blocks in FIGS. 22 and 24. If the positional errorsignal indicates the heads are a distance to a destination track of (forexample) between 0.08 and 100 tracks, the mid resolution parameter setis used in FIGS. 22 and 24. Finally, when the positional error signalindicates a distance to destination track of greater than (for example)100 tracks, the coarse resolution parameter set is employed in FIGS. 22and 24.

In the preferred embodiment, the determination of which resolution modeparameter set is used is also determined in accordance with the velocityof the heads. Analogous to the two PES thresholds of 0.08 track and 100tracks, two velocity thresholds are chosen, defining boundaries betweenthree velocity regions. The two thresholds determine whether thevelocity indicates the resolution mode should be fine (if less than thelower threshold), medium (if between the two thresholds), or coarse (ifgreater than the larger threshold). The velocity thresholds may bechosen by those skilled in the art, based on the particular disk driveunder consideration.

According to a preferred embodiment, velocity thresholds are primarilydesigned to prevent DSP fixed-length integer word overflow. The velocitythresholds to enter fine resolution mode are stringent, to preventPES_(F) from saturating after entering high gain mode (see FIG. 15).Thus the decision to switch between coarse and mid resolution parametersets is made when the velocity crosses 37211 tracks per second,regardless of whether the heads are accelerating or decelerating.However, the velocity decision threshold to enter fine resolution modefrom mid resolution mode, is more stringent than that allowing fineresolution mode to be exited to mid resolution mode. In particular, midresolution mode is exited to enter fine resolution mode on deceleratingthrough 126 tracks per second. Conversely, fine resolution mode isexited to enter mid resolution mode on accelerating through 590 tracksper second. Of course, alternative schemes of entering and exitingresolution modes lie within the contemplation of the invention.

The "worst case" of the positional error signal resolution mode and thevelocity resolution mode choice is chosen, with a bias toward coarserresolution mode. That is, if the positional error signal indicates thatthe position supports a fine resolution mode, but the velocity isbetween the first and second velocity thresholds (indicating a midresolution parameter set should be used), the "worst case" is the choiceof the mid resolution parameter set. In this manner, the observer andthe integral controller functions never "overflow" with data valueslarger than expected. The range of values handled by the DSP controlleris thus increased. Without dynamic scaling of the mentioned parameters,the performance of the DSP would be limited by the size of the datawords, and the accuracy of its measurements and calculations would becompromised due to saturation and/or quantization errors at extreme datavalues.

FIG. 30 schematically illustrates the dynamic scaling of parametersdescribed above. More specifically, the processed positional errorsignal PES' and the velocity state variable VEL entering positionthreshold decoder block 2830 and velocity threshold decoder block 2832,respectively. These decoder blocks examine their respective inputsignals and provide an active signal on exactly one of three of theiroutput paths to indicate whether the input signal falls within (1) thefine resolution mode position or velocity range, (2) the mid resolutionmode position or velocity range, or (3) the coarse resolution modeposition or velocity range. The decoders determine which of their threerespective paths to activate by comparing the input value to the twothresholds which define the boundaries between the three possibleresolution modes.

The worst case node selection block 2834 reviews the two active pathsfrom decoders, and selects the "worst" mode. Coarse resolution isconsidered worse than mid resolution, which in turn is considered worsethan fine resolution mode. Block 2834 outputs its decision as to whichof the two resolution modes is worse, on path 2835.

Different sets of values for parameters Γ_(p0), Γ_(p1), Φ_(p), C_(p),and C_(c) in blocks 2543, 2544, 2546, 2551, and 2572 (FIG. 22), and forparameters such as scalar multiplier f(PES(k)), K, and K_(i) inrespective blocks 2712, 2762, and 2746 (FIG. 24) are stored in coarseresolution parameter set memory 2836, mid resolution parameter setmemory 2837, and fine resolution parameter set memory 2838,respectively. The "worst case" resolution select signal on path 2835determines which parameter set is used in the function blocks in FIGS.22, 24, schematically indicated by a parameter set selector 2839. Inpractice, it is preferred that the "worst case" selection signal merelypoint to a particular location in a table containing the differentparameter sets, so as to specify to the DSP which of the three parametersets to use when performing the functions in the functional blocks inFIGS. 22 and 24.

In operation, typically, the parameters in coarse resolution parameterset memory 2836 are used during the initial portion of a seek. Theparameters in mid resolution parameter set memory 2837 are used duringthe middle portion of a seek. Finally, the parameters in fine resolutionparameter set memory 2838 are used during the final portion of a seek.However, perturbations such as physical shock or vibration may cause theworst case signal on path 2835 to temporarily revert to a worseresolution mode, as explained above.

High -Level Flow Chart

FIG. 13 is a high-level flow chart indicating operation of the digitalsignal processor 110, with special reference to the DSP control systemshown in FIG. 12.

When power is turned on, or upon a reset command, control passes frompower on/reset block 160 to the system initialization block 161. Duringsystem initialization, the DSP system hardware and RAM, as well asexternal peripherals, are initialized. Also, a checksum memory test ofthe DSP program memory is performed. Any other initialization routinesrequired for any given embodiment are performed at this time, inaccordance with principles known to those skilled in the art. Further,however, the parameters shown in the inventive system in FIGS. 12-30 aredownloaded. Thereafter, control passes to a block 167 which is part of amain loop 164 comprising blocks 165, 166, 167, 168.

In block 167, the DSP checks command register 162 (FIG. lB) for acommand from the master. First, the DSP checks to see whether thecommand (if any) is a new command. If the command is not a new command,then control passes immediately to block 168. However, if a new commandis present, it is processed. In a particular preferred embodiment, thecommand register is a 16 bit register. The upper four bits are thecommand code which is later used to address a command jump table. Thecommand jump table is a table of addresses pointing to initial locationsof respective sequences of DSP instructions implementing that particularcommand. The lower 12 bits of the command word are parameters for use inthe particular command. Finally, the command is executed, in the mannerof a subroutine, before control passes to block 168. Master commandswhich are believed important to operation of a particular preferredembodiment are described in greater detail below.

In block 168, the DSP verifies the availability of status register 160for receipt of any status reports from the DSP. If the status buffer 160is not available, of if there is no status word to report, controlpasses immediately to the top of the loop, to block 165.

However, if the status buffer is available, the DSP determines whetherthe tracking status is "pending". The tracking status is a report of thedegree to which the DSP believes the disk drive's heads are tracking theappropriate track. The tracking status is "pending" when the DSP has atracking status report to provide to the master. In this case, thestatus is sent to the controller, and control passes to block 165.

If the tracking status is not pending, then the DSP determines whether acommand status is pending. A command status is the DSP's report as tothe DSP's execution of a command previously received from the master. Ifa command status is pending, it is sent to the master. If it is notpending, control passes to block 165.

Block 165 generally denotes execution of a DSP control routine. FIG. 12illustrates the control routine schematically. It is understood thatvarious parameters and switch settings in FIG. 12 vary, depending oninformation in the servo field, commands received from the master, andinternal variables derived from a history of inputs to the system.However, generally, the various firmware blocks shown in FIG. 12 areexecuted in direct response to the head's encountering a servo field.According to a preferred embodiment, the blocks shown in FIG. 12 areimplemented in DSP firmware.

After the control routine is executed in block 165, control passes toblock 166. In block 166, post processing routines are executed. The postprocessing routines often view the results of the control routine whichwas just executed, and determine an appropriate control routine toexecute during a subsequent iteration of loop 164. For example, based onstate variable values and predicted positional error values calculatedby the end of the previous control routine, a post processing routinemay determine whether the same, or a new, control routine should beexecuted during the next iteration of loop 164.

Post processing routines also check to see whether calibration of anyparameters is necessary. If calibration is necessary, the postprocessing routines initiate the calibration. Further, post processingroutines change the "switches" shown schematically in FIG. 12, such ashigh gain/low gain switch 2230 (FIG. 18A) and integral control effortswitch 2748 (FIG. 24). Moreover, the post processing routines definestatus words to be sent to the master via status buffer 160 (FIG. lB),when appropriate.

The specification of which control routine or which post processingroutine is to be executed in a subsequent block 165 or 166,respectively, is made through selection of a "control vector" or a "postprocessing vector", respectively. The term "vector", as used herein,denotes a pointer indicating a routine. However, "vector" may also beused loosely to refer to the entire routine which is specified.

It is understood that the flow chart in FIG. 13 is schematic in nature,and that variations on the illustrated program flow may be made, whileremaining within the scope of the invention. For example, when the postprocessing routine determines an emergency situation (such as the headvarying from center track during a write operation), it can causeactions to be taken immediately to prevent further writing, actionswhich would otherwise be contained in blocks 165 or 167, for example.Thus, FIG. 13 shows the flow encountered in the majority of servo sampleperiods, but need not absolutely restrict all implementations of thepresent invention.

FIG. 13 demonstrates the second embodiment's use of modular blocks ofDSP code. During execution of a control routine (165), a particular postprocessing routine may be designated for execution immediatelythereafter. Similarly, during execution of a post processing routine(166), a control routine may be designated for execution in block 165during a subsequent iteration of the loop. However, the master may issuea command, detected in block 167, which changes the control routinewhich is designated for execution in the next iteration. The modularnature of the blocks of code allow rapid re-direction of control inresponse to a variety of circumstances.

High-level Timing

FIG. 14 illustrates schematically a typical track T having a series ofdata fields D1, D2, D3 alternating with servo fields S1, S2, S3. Servofields S1, S2, S3 are preferably of the type illustrated in greaterdetail in FIG. 16.

FIG. 14 also has a timing diagram juxtaposed with the illustrative trackT, showing correspondence of DSP activities to the head's encounterswith servo tracks. In particular, it is apparent that the main loop 164of FIG. 13 is executed once per servo field as in the majority of sampleperiods. When a servo field is read, the presently specified controlroutine is executed, corresponding to block 165 (FIG. 13). Thereafter, apost processing routine which was specified within the control routineor before the control routine, is then executed, corresponding to block166. Thereafter, the command register is checked for commands from themaster, corresponding to block 167. Finally, a status word is output tothe output buffer when appropriate, corresponding to block 168.

According to the preferred embodiment, the software routines areoptimized for speed of execution, so that the status is output wellbefore a subsequent servo field is encountered by the heads. This isindicated by the space between "status out" and the subsequent "readS2". Execution of the FIG. 13 loop including the control routine, postprocessing, command input, and status output, is repeated for eachencounter of a servo field. It is understood that the timing illustratedin FIG. 14 need not be followed in all sample periods, but isillustrative of the functioning of the DSP in most scenarios. Forexample, if the reading of a servo field synchronization pulse is notdetected early, then no such loop is executed. A suitable reacquisitiontechnique, known to those skilled in the art, may be executed in theevent of a sufficiently large number of "missed" servo fields.

Phases of a Typical Seek

FIG. 15 is a diagram indicating various parameters, modes, and mannersof functioning during various portions of a long seek. Morespecifically, the graph at the top of FIG. 15 illustrates referencevelocity output from block 2712 (FIG. 24) as a function of time. FIG. 15also illustrates the feedback velocity VEL on path 251 (also in FIG.24). As readily appreciated by those skilled in the art in light of theaccompanying description, the feedback velocity approaches thedownwardly sloping reference velocity, preferably as soon as possibleand with minimal overshoot. (In FIG. 15, the overshoot is exaggeratedfor purposes of illustration.) The difference between the referencevelocity and the feedback velocity, essentially an error function e_(V)on path 2715 (FIG. 24), approaches zero as the head approaches thecenter of the destination track.

FIG. 15 also illustrates the settling window detectors' high gain/lowgain signal on path 261 (FIG. 12). FIG. 15 illustrates ranges ofpositional error signals during successive time periods corresponding tothe velocity curves in the graph at the top of FIG. 15. Further, theresolution mode is demonstrated to proceed from coarse resolution, tomid resolution, and finally to fine resolution as the head approachesthe center of the destination track, allowing different parameter setsto be used in the DSP firmware. FIG. 15 also illustrates when the PESwindows (integrator, read, write, low/high gain) are determined bysettling window detectors in block 260 (FIG. 12). FIG. 15 illustrateswhen the coarse static window block 2420 and the fine dynamic windowblock 2430 (FIG. 20A) contribute to a determination of the processedmeasured positional error signal PES'(k). FIG. 15 illustrates when thePES_(F) measurement is ignored during PES determinations. Finally, FIG.15 illustrates the control routines which are active during thesequential periods of the seek.

FIG. 15 is presented to draw together preferred timing of functions ofvarious portions of the DSP software, with the understanding thatvariations may be made without departing from the scope of theinvention.

Detailed Description of Sequential Operations

The following sections provide descriptions of sequential operations ofvarious preferred command routines, control routines (includingsubroutines and window routines), and post processing routines(including calibration post processing routines). These descriptionssupplement the flow diagrams shown, for example, in FIG. 12 and thefigures detailing its structure.

Flags

In the following descriptions, various flags are referred to. Forreference, the following brief descriptions are provided.

The "Write Flag" is set to indicate that the head is stably positionedwithin the write window (see FIGS. 23A, 23B, 23C).

The "Write Protect Flag" is a hardware control line which, when set,prevents the disk drive hardware from writing data on the surface of thedisk. Generally, the write protect flag is set when the head is notstably within the write window, as determined by the Write Flag, above.

The "Read Flag" is set to indicate that the head is reliably positionedwithin the read window (see FIGS. 23A, 23B).

The "offtrack" flag is set to indicate that the head has exited eitherone of an appropriate window, either the write window or the readwindow.

The "Spurious Sample Flag" is set to indicate an apparently bad samplehas been encountered. This flag is set to indicate exactly one suchoccurrence, that is, during a single sample period. Generally, this flagis checked during a subsequent sample period. When the subsequent sampleis determined to be a bad sample, the DSP knows that two consecutiveapparently bad samples have been read, allowing it to respondaccordingly.

Command Routines

Various commands from the master are now discussed, for purposes ofillustrating a preferred operation of the DSP according to the presentinvention. The following discussions assume the DSP has received acommand from the master, in accordance with block 167 (FIG. 13). Nearthe end of most command routines, the command status word is set to acertain value to indicate, for example, completion of non-completion ofthe command. It is understood that, when the status is set to a certainvalue for output to the status buffer 160 (FIG. lB), the command status"pending" indication is set, analogous to the status pending describedabove. Such minor "bookkeeping" tasks, well capable of implementation bythose skilled in the art, are omitted from the following descriptionsfor the sake of brevity.

Generally, the following routines may be called from any other routine,as needed. The descriptions herein often specify that "control returnsto the main loop", on the assumption that, in the preferred embodiment,such routine is most likely called from the main loop. However, it isunderstood that, if called from a routine and not from the main loop,control would return to the calling routine, and not to the main loop.Further, when it is said that control returns to either the main loop orthe calling routine, the routine is considered terminated, and nofurther processing occurs in that invocation of the routine.

BAD COMMAND

When the DSP receives a command which is invalid, illegal, orunrecognizable for some reason, the BAD COMMAND is executed. A commandto seek to a track which does not exist, for example, is invalid.Similarly, a command which has a command code not corresponding to anyvalid command, causes this routine to be executed. The routine itselfcomprises setting the command status to "bad command" and returning tothe main loop.

HEAD SELECT

When this command is received, the DSP determines whether the DSP isbusy performing another task or whether the head number selected in thecommand parameter is invalid. If either of these conditions is met, theBAD COMMAND routine is executed before returning to the main loop.

However, if neither of these conditions is present, the DSP selects anew head from among plural heads in the disk drive. The DSP resets thetracking status (which indicates the degree to which a head is trackingits destination track). The low gain mode is entered, on the assumptionthat selection of a different head causes a deterioration in trackingperformance with respect to the new head as compared to the head whichwas formerly selected. Further, the settling counters for determiningthe settling windows in settling window detectors 260 (FIG. 12) areinitialized. Finally, the control vector for the subsequent controlroutine iteration in block 165, and the post processing vector for thesubsequent post processing routine iteration in 166, are chosen. Inparticular, a LOW GAIN TRACKING vector (described below) is selected asa subsequent control routine, and the SETTLE post processing vector ischosen for the subsequent post processing routine. After selection ofthe control and post processing vectors, the DSP returns to the mainloop (FIG. 13).

FAST HEAD SELECT

The FAST HEAD SELECT command routine simply stores the next head toselect, as commanded by the master. The FAST HEAD SELECT routinepre-stores the head which is to perform the seek, thus avoidingexecution of the HEAD SELECT routine before the actual seek command.Command status is set to "fast head select complete". Of course, if thehead selected by the master is invalid, the BAD COMMAND routine isexecuted. The advantage of the FAST HEAD SELECT routine is to expedite asubsequent seek command.

SEEK

The SEEK command first determines whether the DSP is busy performinganother task, or whether the track number is an invalid selection. Ineither event, control passes to the BAD COMMAND routine, after whichcontrol is returned to the main loop. However, if the DSP is not busyperforming another task and the track number is valid, the DSP sets thepost processing vector to subsequently execute the SETTLE routine. Thus,the SETTLE post processing vector will subsequently be executed afterany of the SEEK, SHORT SEEK, or LOW GAIN TRACKING control routines(described below).

The tracking status is then reset, indicating that the head is no longeron the desired track. The power amplifier saturation model 2510 (FIG.21A) is initialized, prior to the seek. Appropriate flags are set, suchas those selecting or deselecting the single track seek feedforwardcontroller 2720 or the intermediate seek length compensator (FIG. 24),based on the difference between the current track and the requestedtrack. A write protect flag is set to prevent overwriting preexistingdata on the disk. The switch 2748 at the output of integrator 2740 (FIG.24) is opened if the seek is not a one track seek, to avoid transienteffects in the integrator during seeks longer than 1 track. Thedynamically scalable parameters are scaled, based on the length of theseek.

Finally, the control vector is set to either SEEK or SHORT SEEK, basedon the length of the seek.

If the seek is a SHORT SEEK (less than, for example, 100 tracks), thenthe SEEK command routine terminates, control passing to the main loop.However, if this is a long seek, control passes immediately to thecontrol routine indicated by the control vector, on the principle thaton longer seeks exact timing is not as crucial as an early start. Duringlonger seeks, there is a longer period of opportunity for correcting anyinaccuracies in the control effort.

LOAD HEADS (WITH FAST HEAD SELECT)

The LOAD HEADS command routine first verifies that the actuator isparked and that the selected head is valid. If either of these twoconditions is not met, then the BAD COMMAND routine is executed beforereturning to the main loop. The body of the LOAD HEADS command routinebegins with the selection of the new head which was stored during theFAST HEAD SELECT command routine previously executed. An initial biascurrent is set, biasing the actuator toward the outside diameter awayfrom the parked position. The tracking status is cleared, indicating thedesignated head is outside all windows. The control vector is set to aroutine which causes there to be no control effort output to the DAC114, so that none of the routines schematically illustrated in FIG. 12are executed. Finally, the post processing vector is set to indicate theLOAD HEADS post processing routine, described below. (The LOAD HEADSpost processing routine contains the code which actually writes to theDAC. Thereafter, control returns to the main loop.

PARK HEADS (WITH FAST HEAD SELECT)

The PARK HEADS command routine determines whether the selected head isinvalid, executing the BAD COMMAND routine in that case. Assuming theselected head is valid, the requested track is set to 1300 (indicating atrack inside the inner diameter (ID) of the disk). The post processingvector is set to PARK HEADS, described below. Thereafter, the SEEKcommand routine is entered at a point where the tracking status isreset, the subsequent operations being executed as described above.

DOWNLOAD COEFFICIENTS

The calibration values in the compensation blocks, and the coefficientsused in various multiplier blocks shown in the DSP control system ofFIG. 12, are downloaded to tables in random access memory (RAM)associated with (or preferably in) the DSP. This command routine isexecuted, for example, after the disk drive exits a power save mode inwhich the DSP volatile RAM's contents were lost. Initially, the DOWNLOADCOEFFICIENTS command routine verifies that the actuator is parked andthat the master-indicated data block number to download is valid. Ifeither of these two conditions is not met, the BAD COMMAND routine isexecuted. Assuming the criteria are met, the DSP sets up a blockstarting address and block count, and sends a "ready to receive block"status to the master via status buffer 160 (FIG. lB). Then, the DSPreceives the block of parameters downloaded from the master, after whichit sends a "final word received" status indication to the master. Thedownloading of coefficients thus being completed, control returns to themain loop (FIG. 13).

UPLOAD COEFFICIENTS

In a manner similar to the DOWNLOAD COEFFICIENTS command routine, theUPLOAD COEFFICIENTS routine verifies that the actuator is parked andthat the block number to upload is valid, otherwise causing execution ofthe BAD COMMAND routine. The block starting address and block count areset up, and a "ready to upload block" status is sent to the master. Theblock is uploaded, after which the "transfer complete" status is sent tothe master. The UPLOAD COEFFICIENTS command routine is advantageouslyexecuted immediately before power is cut off such as during the powersave mode, thus avoiding the recalibration which would otherwise benecessary after power is restored to the disk drive.

CALIBRATION

The CALIBRATION command routine allows parameters within variousfunctional blocks to be recalibrated. For example, offset correctioncalibration block 2102 (FIG. 17A), low gain normalization calibrationblock 2240 (FIG. 18A), single-track seek feedforward calibration block2720 (FIG. 24) and bias feedforward calibration block 2750 (FIG. 24) maybe calibrated, using routines which are called after the presentCALIBRATION command routine is invoked.

First, the DSP determines whether it is busy with another task. If it isbusy, the BAD COMMAND routine is executed, after which control returnsto the main loop. However, if the DSP is not busy with another task, thecalibration command parameter from the master is decoded, to determinethe particular block which should be recalibrated.

In a particular preferred embodiment, the above four blocks are thosewhich may be recalibrated. However, it lies within the contemplation ofthe invention that less than these four blocks, or blocks in addition tothe four listed blocks, may be calibrated. In any event, after the DSPdecodes the calibration type parameter, the appropriate calibrationroutine, one of those described immediately hereafter, is executed.

SINGLE TRACK SEEK FEEDFORWARD CONTROLLER (2720) CALIBRATION

This command routine immediately sets the post processing vector toSINGLE TRACK SEEK FEEDFORWARD. The command status is cleared, so as tocancel any existing indication that a prior command has been completed.The DSP selects (for example) head zero, and the destination track totrack 100. Thereafter, the SEEK routine is entered at a point where thetracking status is reset, with subsequent operations executed asdescribed above.

INPUT OFFSET CALIBRATION (2102)

This calibration command routine first sets the post processing vectorto OFFSET CALIBRATION, described below. The command status is cleared,and head zero (for example) is selected. The offset accumulationvariable is cleared, and the destination track is set to 20. Then, theSEEK command routine is entered at a point where the tracking status isreset, and subsequent operations executed as described above.

LOW GAIN NORMALIZATION CALIBRATION (2240)

The post processing vector is set to LOW GAIN NORMALIZATION CALIBRATION,described below. The command status is cleared. The DSP selects astarting head, for example head zero, as well as choosing a destinationtrack (for example, 40) and a maximum track (for example, 760). The A+Baccumulator is cleared, and a pointer set up for indicating a place in atable of straight-line equations, the place being a function of head andzone. A sample counter is set to an initial value. Finally, the controleffort is reduced by one decibel for calibration purposes, the reductionaccomplished by reducing any suitable parameter in the DSP controlsystem. Thereafter, the SEEK command routine is entered at the placewhere the tracking status is reset, with subsequent operations beingexecuted as described above.

BIAS FEEDFORWARD CALIBRATION (2750)

The post processing vector is set to BIAS CALIBRATION, described below.The command status is cleared, to prevent improper indication that acommand has been completed. The accumulator for averaging the bias forcevariables is cleared, and the sample down-counter, indicating the numberof samples to average, is initialized. The data sample pointers,indicating data samples between the outside diameter and the insidediameter, is initialized. Finally, the starting track address is chosen.Then, the SEEK command routine is entered at the point where thetracking status is reset, with subsequent operations being executed asdescribed above.

The command routines described immediately above are executed as part ofblock 167 (FIG. 13). With few exceptions (noted specifically), thecontrol passes to sense status block 168, in which a status report issent to the master via status buffer 160 (FIG. 1B). After a next servofield sample (illustrated in FIG. 14), a control routine designated byan active control vector is executed in block 165 (FIG. 13). Importantcontrol routines are next described.

Control Routines

FIG. 12 illustrates schematically the software which may be executedduring the control routines. For purposes of this section, four controlroutines are described, corresponding to the successive control routineslisted in FIG. 15. The four control routines are successively executedduring a seek from a source location to a destination track, thesuccessive execution assuming that no outside disturbance (such as aphysical shock) perturbs the system. It is understood that, in the eventof such perturbation, the tracking sensor measuring the distance betweenthe present head location and the destination track may cause a jumpfrom one routine to a previously executed routine. It should be notedthat the four routines described below are all executed by the functionblocks illustrated in FIG. 12 and sub-blocks thereof. The difference infunction between the four routines derives from, for example, thedifference in gain of the FIG. 12 system, the difference in resolutionand corresponding difference in the parameters which are dynamicallyscaled, differences in functioning of the settling window detectors 260and integrity testers 240, all as indicated in FIG. 15. FIG. 12 is acomprehensive system allowing both tracking and seeking to beaccomplished without separate tracking and seek controllers.

The SEEK control routine

The SEEK control routine begins by setting the analog-to-digitalconverter to low gain. Then, the DSP inputs and processes the raw samplefrom the analog-to-digital converter 132. At this time, the value ofPES_(F) is known.

Next, the DSP verifies the presence of a properly timed synchronizationsignal. In the presence of a good synchronization signal, themeasurement is scaled according to a "bits per track" multiplier toplace the measurement in units of "bits", after which the COARSE STATICWINDOW subroutine, described below, is executed. If the synchronizationsignal was not found, or was a bad synchronization signal, the scalingstep and the COARSE STATIC WINDOW execution are skipped.

The DSP then calculates the observer output equations, x(k). Based onthe predicted position and velocity states comprising x_(P) (k), the DSPgenerates the reference velocity and control effort u(k). The DSPoutputs the control effort u(k) to the digital-to-analog converter 114(FIG. 1B) after suitable scaling. Thereafter, the observer updateequations are calculated.

The DSP then determines whether the heads are close enough to thedestination track to change resolution from coarse resolution to midresolution. If the heads are close enough to the destination track, theDSP replaces the coarse resolution parameters with mid resolutionparameters and sets the control vector to SHORT SEEK, to be describedbelow. Regardless of whether the head is close enough to the destinationtrack, the DSP pre-computes the low gain normalization factor (2240,FIG. 12) and the bias feedforward factor for block 2750 (FIG. 24).Control returns to the main loop, so that the SETTLE post processingroutine may be executed.

The SHORT SEEK control routine

The SHORT SEEK control routine begins by setting the analog-to-digitalconverter to a low gain, and by sampling and processing the raw sampletherefrom. The measurement is scaled, and the COARSE STATIC WINDOWsubroutine (described below) is executed. The observer output equationsare calculated.

Then, in accordance with FIG. 25, the DSP determines whether thepositional error signal is in the linear range. If the PES is in thelinear range, the control vector is set to LOW GAIN TRACKING and controlpasses to the LOW GAIN TRACKING control routine, at the point at whichthe linear control effort is generated.

However, if the positional error signal is not in the linear range yet,the reference velocity and control effort u(k) are generated inaccordance with the intermediate seek length compensator 2760 (FIG. 24).The control effort is appropriately scaled and output to thedigital-to-analog converter to control the plant. The observer updateequations are then calculated.

The DSP then determines whether the head is too far from the destinationtrack for the SHORT SEEK control routine. If the destination should forsome reason be too far away from the present location of the head, thePES and VEL states are appropriately scaled based on the currentresolution mode (coarse, mid, or fine), and the control vector is set tothe SEEK control routine. In any event, the DSP pre-computes the lowgain normalization factor and the bias feedforward quantity beforereturning to the main loop.

The LOW GAIN TRACKING control routine

This control routine is used for mid resolution, linear control duringlow gain tracking. First, the analog-to-digital converter is set to lowgain and the raw sample output therefrom is input. Sample integritytests are performed, in accordance with the measurement scaling, COARSESTATIC WINDOW and FINE DYNAMIC WINDOW shown in FIG. 20A. Then, theobserver output equations are calculated.

Next, the DSP determines whether the positional error signal is in thelinear range, determined by the transfer function illustrated in FIG.25. If the positional error signal is not in the linear range, thecontrol vector is set to SHORT SEEK, and the SHORT SEEK control routineis entered at an entry point beginning with the generation of thereference velocity and control effort.

However, if the positional error signal is in the linear range, controlremains in the LOW GAIN TRACKING control routine. The control effort,which is a linear control effort, is generated. The control effort isappropriately scaled and output to the digital-to-analog converter.Then, the observer update equations are computed.

The window functions are then executed, each in a manner to beconsistent with FIGS. 23A, 23B and 23C. The integrator window, the readwindow, the write window, and the high gain window are calculated.Finally, the low gain normalization factor is pre-computed beforecontrol passes to the main loop for execution of a suitable postprocessing routine (normally the SETTLE post processing routine).

The HIGH GAIN TRACKING control routine

The HIGH GAIN TRACKING routine is used for high resolution, linearcontrol during high gain tracking, and corresponds to the scenario whenthe head is stably positioned over the center of the track.

First, the analog-to-digital converter is set to high gain, and the rawsample output therefrom is received by the DSP. The sample integritytests are performed, in accordance with the coarse static windowcalculator 2420 and fine dynamic window calculator 2430. The observeroutput equations are calculated, and the linear control effort u(k) isgenerated, scaled, and output to the digital-to-analog converter. Theobserver update equations are computed, and the READ WINDOW, WRITEWINDOW, and LOW GAIN WINDOW routines are executed. Because theintegrator window is relatively large, the integrator window routineneed not be called. Finally, the DSP pre-computes the low gainnormalization factor before control returns to the main loop forexecution of a suitable post processing routine (normally the TRACK postprocessing routine).

Subroutines

The control routines commonly call various subroutines which implementare lower-level functions.

For example, each time the control system of FIG. 12 is invoked, theservo sample and timing test is executed. In this block 205, the sampleperiod is measured, by determining the time transpired since the mostrecent confirmed servo field was read. It is possible that the inputdetection circuitry may falsely detect a servo field when in fact thehead has not yet encountered the subsequent servo field. In this case,the servo sample timing test 205 prevents execution of the rest of thefunctional blocks in FIG. 12, returning to await a servo field within anexpected time window after the previous confirmed servo field.

Alternatively, the time window during which the subsequent servo fieldis expected to be detected may pass without such detection. Such anoccurrence is normally detected by the non-occurrence of asynchronization field within the expected time window. In this event,the system may generate a "dummy" synchronization signal to allow thefunctional blocks in FIG. 12 to be executed in the "freewheel" mode inwhich the servo controller operates based on predictions from the fullstate observer 250.

Similarly, at the output of the DSP, routines must be used to output thecontrol effort u(k) to the digital-to-analog converter (DAC). In theevent that the DAC input word is smaller than the potential magnitude ofu(k), u(k) must be clamped to prevent DAC overflow. In this event, FIG.24 would be modified so that the output of adder 2766 passes through aclamping block before being output as u(k). The first interim controleffort signal u'(k) is then determined as u(k) minus both the controlefforts on paths 2749 and 2751. In those situations when the outputcontrol effort is clamped, the power amplifier saturation model must beappropriately scaled as well. As will readily be appreciated by thoseskilled in the art, these subroutines are highly dependent on theanalog-to-digital to-digital and digital-to-analog converters placed atthe input and output of the digital signal processor. However, the lowlevel of these functions demonstrates that their implementation liesreadily within the ability of those skilled in the art, based upon theirchoice of the converters.

The preferred COARSE STATIC WINDOW routine shown as block 2420 (FIG.20A) operates in the following manner.

First, the absolute value of the difference between the linear extendedpositional error signal PES_(LE) and the predicted positional errorsignal PES_(P) is determined. If the absolute value is less than a givenclamped value, the spurious sample flag is cleared (assuming it was setin a previous sample period), a spurious sample counter is set to aninitial value, and control returns to the calling routine.

If, however, the absolute value determined above is not less than theclamped value, the DSP determines whether the spurious sample flag hasbeen set in a previous sample period. If the spurious sample flag is set(indicating the present sample is the second spurious sample in a row),control returns immediately to the calling routine. However, if thespurious sample flag is not set, the observer is run open loop duringthis sample, with PES₁ being set equal to the predicted PES value,PES_(P). Then, the spurious sample counter is decremented and checkedfor expiration. If the spurious sample counter has not expired, controlreturns immediately to the calling routine. If the spurious sample hasexpired, the spurious sample flag and the spurious sample counter areset, before control returns to the calling routine.

Briefly, the purpose of the steps starting with determination of whetherthe spurious sample flag is set, is to ensure that the predicted valuePES_(P) is used only a certain number of times (for example, fivetimes); thereafter, the measured value PES_(LE) should be used, on theassumption that the initially suspect measured values are indeed correctand the predicted values no longer track the head's true position.

The preferred FINE DYNAMIC WINDOW routine, illustrated as block 2430(FIG. 20A) operates as follows.

First, the DSP determines whether the absolute value of the differencebetween the positional error signal minus the predicted value PES_(P),is less than a clamp value. If the absolute value of this difference isless than the clamp value, then the spurious sample flag is cleared andthe spurious sample counter is set before immediately returning to thecalling routine. If, however, the absolute value of the difference isnot less than the clamp value, the DSP determines whether the spurioussample flag is set during a previous sample period. If the spurioussample flag is set, control returns immediately to the calling routine.

If, however, the spurious sample flag is not set, then the output of thefine dynamic window calculator PES₂ is set equal to the predicted statePES_(P) ±the clamp value, determined in accordance with FIG. 20B. Thespurious sample counter is decremented and tested for expiration. If thespurious sample counter has not expired, control returns immediately tothe calling routine. If, however, the spurious sample counter hasexpired, the spurious sample flag and the spurious sample counter areset, and control returns to the calling routine. This routine ensuresthat the predicted value is used for only a certain number of sampleperiods, determined by the spurious sample counter, before the measuredvalue PES_(LE) is selected in its place.

SETTLING WINDOW DETECTION ROUTINES

The settling window detectors 260 have been described in general termswith reference to FIGS. 23B, and 23C. However, to supplement thatgeneral description, the following descriptions of sequential methodsare provided.

The INTEGRATOR window.

The INTEGRATOR window determines when switch 2748 (FIG. 24) at theoutput of integral control effort block 2740 is open or closed. That is,this window determines whether the output of the integral control effortblock contributes to a determination of the final control effort u(k) onpath 112.

First, the DSP determines whether the positional error signal is outsidethe "high window". Here, the term "high window" denotes a magnitudegreater than that of x+(x_(HYST) /2) as shown in FIG. 23A. As abackground, the PES may be outside the high window in the early parts ofseeks. Even after it is less than the high window for a fewmeasurements, the positional error signal may increase beyond the highwindow, for example, when the disk drive receives a physical shock.

If the positional error signal is greater than the high window, thesettling counter is returned to its initial value, the switch 2748 isopened, and the integrator states saved when the heads were in aprevious write window are now re-loaded into the integrator. Thereafter,control returns to the calling routine (LOW GAIN TRACKING or HIGH GAINTRACKING).

If, above, it was determined that the positional error signal was notoutside the high window, the DSP determines whether the integratorswitch 2748 is on. If it is on, control returns to the calling routine.If the integrator switch is not on, the DSP then determines whether thepositional error signal is inside the low window.

If the positional error signal is not in the low window, control returnsimmediately to the calling routine. If the positional error signal iswithin the low window, the settling counter is decremented, and the DSPthen determines whether the settling counter has underflowed (indicatingexpiration of the counter's settling time; see FIG. 23A). If it has notexpired (indicating not enough time has passed to verify stablesettling), control returns immediately to the calling routine. However,if the settling counter has underflowed (indicating expiration of thesettling counter's time, and therefore stable settling), the integratorswitch is turned on, allowing the integrator's output to contribute tothe control effort. Control then returns to the calling routine.

The READ WINDOW routine is preferably implemented as follows.

The READ WINDOW routine determines when the read flag should be set orcleared. The DSP reports the state of the read flag to the master, sothat the master can intelligently issue commands to read at a propertime.

First, the READ WINDOW routine determines whether the positional errorsignal is within the "low window". As used herein, the term "low window"denotes a magnitude equal to x-(x_(HYST) /2) as illustrated in FIG. 23A.

If the positional error signal is within the low window, the settlingcounter is decremented. If the settling counter has expired, controlreturns to the calling routine (LOW GAIN TRACKING or HIGH GAINTRACKING). However, if the settling counter has expired, the read flagis set, indicating the settling of the positional error signal for asufficient length of time to allow reading information from the track.After the read flag is set, control returns to the calling routine.

If, at the outset, the positional error signal is not within the lowwindow, the settling counter is set to its initial value. Then, the DSPdetermines whether the positional error signal is within the highwindow. If the positional error signal is within the high window,control returns to the calling routine.

If, however, the positional error signal is not within the high window,the DSP clears the settling counter, as well as the read flag and writeflag. Finally, the offtrack flag is set, indicating the heads are notsufficiently settled on the destination track to justify either a writeor a read operation. Immediately after the appropriate flags are set,control returns to the calling routine. These flags are used by the postprocessing routine to forward corresponding status information to themaster.

The LOW GAIN WRITE WINDOW is preferably implemented as follows.

First, the LOW GAIN WRITE WINDOW routine checks to see whether the readflag is set. If the read flag is not set, it is assured that thepositional error signal is outside the read window, and by implicationoutside the smaller write window. Therefore, the present routine clearsthe write flag, sets the write protection, and sets the offtrack bitbefore returning to the calling routine.

Assuming that the read flag is set, the DSP determines whether the PESis within the low window, x-(x_(HYST) /2). If the positional errorsignal is within the low window, the spurious sample flag is set (if itwas cleared in a previous sample), the states of the integrator 2740 aresaved, and the settling counter is decremented.

Then, the DSP checks to see whether the settling counter has underflowed(expired). If it has not expired, the control returns to the callingroutine immediately. However, if the settling counter has expired(indicating stable settling), the DSP disables the write protection,sets the read and write flags, and clears the seek flag before returningto the calling routine.

If, originally, the PES was not within the low window, the DSP sets thesettling counter to its original value. Then, the DSP determines whetherthe positional error signal is within the high window. If the PES iswithin the high window, any spurious sample flag is reset and control isreturned to the calling routine. If, however, the PES is not within thehigh window, the DSP determines whether a spurious sample flag has beenset in the previous sample. If the spurious sample flag was not alreadyset, the spurious sample flag is now set in the present routine, beforereturning to the calling routine. However, if the spurious sample flagwas set in the previous sample, the write flag is cleared, the writeprotect bit is set, the offtrack bit is set, and control returns to thecalling routine.

The HIGH GAIN WINDOW routine determines when to enter the high gainmode. First, the DSP determines whether the positional error signal iswithin the low window, x-(x_(HYST) /2) in FIG. 23A. If the PES is notwithin the low window, the settling counter is set and control returnsto the calling routine. If the PES is within the low window, the DSPdetermines whether the velocity state is beneath a predeterminedthreshold. If the velocity state is not smaller than the predeterminedthreshold, the settling counter is set and control returns to thecalling routine.

If the velocity state is small enough, and the positional error signalis within the low window, the settling counter is decremented. If thedecremented value of the counter indicates the settling time hasexpired, the control vector is set to HIGH GAIN TRACKING, describedabove, before control returns to the calling routine. If the settlingcounter has not expired, control returns immediately to the callingroutine without setting the control vector to HIGH GAIN TRACKING.

The HIGH GAIN WRITE WINDOW routine is entered, assuming the controlleris already in the high gain state. First, the read flag is checked. Ifthe read flag is not set, the positional error signal is clearly notwithin the read window and therefore cannot be within the write window.Under these circumstances, the present routine immediately clears thewrite flag, enables the write protect, sets the offtrack flag andreturns immediately to the calling routine.

If the read flag is set, the DSP determines whether the estimatedpositional error signal PES is inside the low write window. If PES iswithin the low write window, the spurious sample flag is cleared and theintegrator states are saved in the event of a physical shock to thesystem in the near future. Then, the DSP determines whether the observererror output by adder 2550 (FIG. 22) is small enough. If the observererror is not small enough, control returns immediately to the callingroutine. However, if the observer error is small enough (below apredetermined threshold), the DSP decrements the settling counter anddetermines whether it has expired. If the settling counter has notexpired, control returns immediately to the calling routine. If,however, the settling counter has expired (indicating stable settling),the DSP disables the write protection, sets the read and write flags,and clears the seek flag before control returns to the calling routine.

If, originally, PES is not within the low write window, the settlingcounter is set to its initial value. The DSP then determines whether PESis within the high window. If it is within the high window (implying itis within the hysteresis zone), the spurious sample flag is cleared andcontrol returns immediately to the calling routine. If, however, PES isnot within the high window, the DSP checks to see whether the spurioussample flag has already been set, in the previous sample period. If thespurious sample flag is already set (indicating two consecutive spurioussamples), the write flag is cleared to effectively write-protect thedisk and control returns to the calling routine. If, however, thespurious sample flag has not already been set, the present routine setsthe spurious sample flag to indicate the present PES is outside the highwindow, and control returns to the calling routine.

The LOW GAIN WINDOW routine include several tests, the routinedetermining if control should be changed to a low gain mode. Thisroutine is designed for quickly and reliably detecting when an event hasoccurred to move the head off previously stable high gain tracking. Inparticular, any of several conditions will cause the controller to exithigh gain mode. These conditions include:

1. If the positional error signal is at a maximum value two sampleperiods in a row, it is assumed that the positional error signal issaturated, indicating an actual positional error too great for thesystem to measure.

2. The processed positional error signal PES' on path 241 isextrapolated to saturate (exceed its maximum value) based on a verylarge estimated velocity VEL. A large estimated velocity state indicatesthe plant is incapable of being controlled quickly enough to compensatefor the anticipated saturation of the positional error.

3. The estimated positional error state PES is not within its window.

4. The concurrence of two conditions: (a) the processed positional errorsignal PES' is not within its window, and (b) the spurious sample flagis set, indicating the previous sample was beyond its window. These twoconditions collectively confirm the hypothesis that the positional erroris too large for high gain tracking.

5. The concurrence of two conditions: (a) the TrackID from the servofield is not the requested track, and (b) the spurious sample flag isset to indicate a previous sample was not within its window.Collectively, these two conditions indicate the head is not over thecorrect track.

6. The concurrence of two conditions: (a) the TrackID is measured asbeing one track different than the requested track, and (b) thepositional error signal is at the saturation level. Collectively, thesetwo conditions confirm the head is not over the requested track.

Before the low gain tracking mode is exited, the control vector is setto LOW GAIN TRACKING, the write flag is cleared, and the offtrack bit isset.

Post Processing Routines

Various post processing routines executed within block 166 (FIG. 13) arenow described. The choice of which post processing routine is executedis determined by the most recent setting of a post processing vectorprior to entry into block 166. The post processing vector may bedetermined, for example, in either block 167 (during a command routine),in block 165 (during a control routine), or within block 166 (during aprevious post processing routine).

PARK

The PARK post processing routine is used to monitor the progress of a"park heads" command execution, described above. First, the DSPdetermines whether the park process has been completed. If it has beencompleted, control returns to the main loop. If the park has not beencompleted, the DSP determines whether the actuator has reached thehypothetical "destination track", track 1300. If "track 1300" has notbeen reached, a timeout counter is checked for expiration. If thetimeout counter has expired, or if the actuator has reached track 1300,then a variety of functions are performed before returning to the mainloop. However, if it was determined that the timeout counter has notexpired, control returns immediately to the main loop.

The functions which are performed before returning to the main loop, ifthe actuator has reached destination track 1300 or the timeout counterhas expired, include setting the control effort to an open loop biastoward the inner diameter end stop of the disk drive. Both the controlvector and the post processing vector are set to NOP, the "no operation"routine which involves an immediate return to the calling routinewithout any processing. The command status is set to "park complete" forforwarding to the master.

LOAD HEAD

The LOAD HEAD post processing routine is used to monitor the systemduring head load operations. Briefly, the LOAD HEAD routine involvesincrementing actuator current in an open loop fashion until the actuatoris biased out of its park position toward a track close to the outerdiameter, such as track 100.

The LOAD HEAD routine begins with a determination of whether the load iscomplete. This determination is made by reference to whether the head isstably positioned within the read window of track 100, for example. Ifthe load is complete, based on this criteria, control returnsimmediately to the main loop. If, however, the load is not complete, theDSP determines whether the servo is still operating in an open loopfashion. If the servo is not operating in an open loop fashion, thesystem passes to a "closed loop portion" of the LOAD HEAD routine, thatportion to be described below.

When the load is determined not to be complete, and the servo isdetermined to be operating in an open loop fashion, the DSP thendetermines whether there have been ten consecutive good synchronizationsignals received. In this case, indicating it is safe to begin operationin closed loop mode, the destination track is set equal to 100 and theSEEK command routine, described above, is entered at the place where thetracking status is reset.

If, however, the DSP determines that there have not been ten goodsynchronization signals in a row, the open loop current biasing theactuator toward the outside diameter is incremented upward, and thecurrent level compared to a maximum value. If the current level has notyet reached the maximum value, control returns immediately to the mainloop to allow the new, higher level of current to have an effect on theactuator.

If, however, the current level has reached the maximum value, the DSPindicates a "head load failure" command status for forwarding to themaster, and applies open loop bias toward the inside diameter stop toattempt to park the actuator before returning to the main loop.

The "closed loop portion" of the LOAD HEAD routine includes thefollowing steps. First, the DSP determines whether the load is complete,such as determining whether the heads have settled stably within theread window of track 100. If the load is complete, the DSP indicates"head load complete" status for the master, and returns immediately tothe main loop.

If, however, the load is not indicated as complete based on thiscriterion, the DSP determines whether the timeout counter has expired.If the timeout counter has not expired, control returns to the main loopimmediately. If, however, the timeout counter has expired, thedestination track is incremented from 100 on the assumption thatsomething was wrong with track 100 but that the LOAD HEAD routine hasnot yet been deemed a failure. To ensure that this process ofincrementing the destination track does not go on indefinitely, the DSPdetermines whether the destination track has grown too large (forexample, greater than track 105). If the destination track is not toolarge, control is passed to the portion of the SEEK command routinebeginning where the command status is reset. If the destination trackhas become too large, the DSP indicates "head load failure" to themaster, and applies open loop bias toward the inner diameter stop in thedisk drive to attempt to park the heads, before returning to the mainloop.

SETTLE

The SETTLE post processing routine is used to monitor the settlingstatus for seeks and for head selects. The SETTLE post processing vectoris selected during the initial portion of the SEEK command routinedescribed above.

First, the DSP determines whether there has been a change in the statusof the read or write windows. That is, the DSP determines whether a reador write window has been exited or entered since the last time thestatus was checked. If there is no change in the status of the readwindow or write window, control returns immediately to the callingroutine. If, however, there is a change in status of the read window orwrite window, any previous offtrack status for the master is cleared,and the new tracking status is indicated to the master. Then, the DSPdetermines whether the head has settled within the write window. If thehead is not settled within the write window, control returns immediatelyto the calling routine.

If, however, the head has settled within the write window, the postprocessing vector is set to TRACK, on the principle that the writewindow is the narrowest window, guaranteeing the head is stably settledover track center. After the post processing vector is set to TRACK,control returns to the calling routine.

As described above, the SETTLE post processing routine is invoked whenthe SEEK control routine sets the post processing vector to SETTLE.Thus, the SETTLE routine is repeatedly invoked during the sample periodsof the first portion of seeks. When the head has stably settled overcenter track, the post processing vector is set to TRACK for theremainder of the seek.

TRACK

The TRACK post processing routine begins with a determination of whetherthere is a change in the status of the read window or the write window,analogous to the test performed in the SETTLE post processing routine.If there is no change in these status, control returns immediately tothe calling routine. If, however, there has been a change in the statusof the read window or write window since the last status check, anyprevious offtrack status for the master is cleared, a new trackingstatus is sent to the master, and control is returned to the callingroutine.

CALIBRATION POST PROCESSING ROUTINES

Various calibration post processing routines are provided, correspondingto the calibration command routines described above. These include thebias calibration post processing routine, the normalization calibrationpost processing routine, the offset calibration post processing routine,and the single track seek feedforward calibration post processingroutine.

BIAS CALIBRATION

As described above, the piecewise linear bias feedforward controller iscalibrated by averaging a plurality of measurements at a group of headpositions distributed between the outside diameter and the insidediameter, as indicated in FIG. 27. Preferred sequential steps involvedin collecting data, averaging them, and processing them to arrive atbias feedforward values, are now described.

The BIAS CALIBRATION post processing routine begins with a determinationof whether calibration is complete. If the calibration is complete,control returns immediately to the calling routine. However, ifcalibration is not complete, processing continues as follows.

The DSP determines whether the head has settled within a write window.If the head has not settled within the write window, the settlingtimeout counter is checked to see whether it has expired. If thesettling timeout counter has not expired, control returns immediately tothe calling routine. However, if the write window has not been entered,and the settling timeout counter has expired, steps are taken to ensurethat the system does not try indefinitely to attempt to average measuredvalues. In this case, the bias force averager is cleared, the samplecounter is reset, and the destination track is incremented for asubsequent attempt at bias calibration. If this incremented value of thedestination track is too large, the command status is set to"calibration failure" for communication to the master, the DAC controleffort is cleared, the control vector is set to NOP (no operation), andthe heads are parked, before control is returned to the calling routine.However, if the incremented destination track is not too large, the SEEKcommand routine is entered at a point where the tracking status isreset.

If it was determined above that the head is within the write window, thebias force sample is contributed to the sum for the average, and asample counter corresponding to the number of samples to be averaged isdecremented. Then, the DSP determines whether the sample count hasexpired, returning to the calling routine if it has expired. However, ifthe sample counter has not expired, the DSP determines whether thepresent data point is a first data point taken.

If this is not the first data point taken, the slope and the Y-interceptbetween the current measurement and the previous measurement iscomputed, the slope and Y-intercept then being stored in a table. Ifthis is only the first data point taken, the computation and storagesteps described immediately above are skipped.

Then, the DSP determines whether this is the last sample point. If thisis the last sample point, the integrator is cleared and the biasfeedforward switch is turned on. The command status is set to indicate"bias calibration complete" to communicate completion of the routine tothe master before control returns to the calling routine.

If, however, this is not the last sample point, the current measurementis saved for a subsequent sample period, in anticipation that a slopeand Y-intercept will have to be computed in the future. The bias forceaverager is cleared, and the sample counter is reset. Then, thedestination track is incremented, and the SEEK command routine isentered at the point where the tracking status is reset.

LOW GAIN NORMALIZATION CALIBRATION.

The LOW GAIN NORMALIZATION CALIBRATION post processing routine isimplemented as follows. As described above with reference to FIG. 18B,various values are measured when the head is located at a plurality ofpositions between the outside diameter and the inside diameter of thedisk, the values are averaged, and a linear least squares approximationto the processed averages is determined for each zone on the disk. Theflow of operations may be as follows.

First, the DSP determines whether calibration is complete. If it iscomplete, control returns immediately to the calling routine. If it isnot complete, processing continues as follows.

The DSP determines whether the head is within the write window and, ifnot, if the settle timeout counter has expired. If the head is withinthe write window and the settle timeout counter has not expired, controlreturns immediately to the calling routine. If, however, the head is notwithin the write window and the settle timeout counter has expired, theDSP takes actions to ensure that it does not try indefinitely tocalibrate using a certain track which may be flawed in some way. Inparticular, the DSP clears the "A+B" accumulator, resets the samplecounter, and increments the destination track so that a new track may beused for the normalization calibration. If the new, incrementeddestination track is not too large, control passes to the SEEK commandroutine at the point where the tracking status is reset. If thedestination is too large, control passes to a "second portion" of theLOW GAIN NORMALIZATION calibration routine, described below.

Returning to the decision mentioned above, as to whether the head iswithin the write window, if the head is determined to be within thewrite window, another "A+B" dibit sample is contributed to the sum forthe average, and a sample counter is decremented. The DSP thendetermines whether the sample counter has expired. If the sample counterhas not expired, control returns immediately to the calling routine.However, if the sample counter has expired, the DSP computes (A+B)_(REF)/(A+B)_(MEAS). The sample is saved in a table, along with acorresponding TrackID. If the new, incremented destination track numberis not too large (indicating the edge of the zone has not been reached),the SEEK command routine is entered at the point where the trackingstatus is reset. If, however, the new, incremented destination tracknumber is too large, the "second portion" of the LOW GAIN NORMALIZATIONcalibration routine mentioned above, is entered.

The "second portion" of the LOW GAIN NORMALIZATION calibration routineincludes the following steps.

First, the DSP determines whether there are at least seven (for example)data points. If there are not yet seven data points, the command statusis set to "low gain normalization calibration failure" for communicationto the master. The control effort to the DAC is cleared, and the headsare parked. Finally, the requested track is set to the current trackbefore control is returned to the calling routine.

If, however, it was determined that there are at least seven datapoints, processing in the LOW GAIN NORMALIZATION calibration routine maycontinue. Specifically, a least squares linear fit to the data points iscomputed, and the slope and Y-intercept for this head and zone aredetermined. With this portion of the calculations complete, the pointersfor the sample buffers are reset, and the sample counter set to isinitial value to prepare for decrementing in a subsequent iteration ofthe calibration loop.

Then, the DSP determines whether the inner zone (assuming there to betwo zones) still needs to be performed for the present head. If it needsto be performed, the requested track is set to the zone boundary+20 andthe maximum track is set to 1240, thus "bracketing" the zone. Then, theSEEK command routine is entered at the point where the tracking statusis reset.

If, however, the DSP determines that the inner zone does not need to beperformed for this head, a zone offset is added to the Y-intercept forthe inner zone, to compensate for the difference in "Y-intercepts"between the left side and the right side of FIG. 18B. Then, the DSPdetermines whether the calibration process has been performed for allheads. If the process has not been completed for all heads, the headnumber is incremented, the requested track is set to 40, the maximumtrack is set to 760 to "bracket" the zone, and the SEEK command routineis entered at the point where the tracking status is reset.

If, however, the DSP determines that the calibration routine has beencompleted for all heads, the command status is set to "low gainnormalization calibration complete" for communication to the master. Apower amplifier gain is set to a nominal value and the requested trackis set to the current track before returning to the calling routine.

INPUT OFFSET.

The preferred INPUT OFFSET calibration post processing routine includesthe following steps, made with reference to FIG. 17B. First, the DSPdetermines whether the calibration has been completed. If thecalibration has been completed, control returns immediately to thecalling routine.

If the calibration is not yet complete, processing continues as follows.

First, the DSP determines whether the head is within the write windowand, if not, whether the settle timeout counter has expired. If the headis not within the write window but the settle timeout counter hasexpired, the DSP takes action on the assumption that it should notcontinue indefinitely trying to calibrate on a potentially flawed track.Specifically, the DSP sets the command status to "calibration failure"for communication to the master. The DSP clears the DAC control effort,and parks the heads. The control vector is set to NOP (no operation)before control is returned to the calling routine.

If, however, the DSP determines that the head is not within the writewindow but the settle timeout counter has not yet expired, controlreturns immediately to the calling routine without executing theaforementioned steps.

If it was determined above, that the head was within the write window,the DSP then determines whether this is an offset calibration sector. Asdescribed above, in the preferred embodiment, every tenth sector is anoffset calibration sector, meaning that the dibits in the PES_(F) regionof the servo field (FIG. 16) are located on the same side of trackcenter, rather than on opposite sides of track center. If this is not acalibration sector, the dibits should effectively be ignored. The DSPdetermines whether this sector is one immediately preceding an offsetcalibration sector. If it is not a sector immediately preceding anoffset calibration, control returns to the calling routine immediately.If, however, the DSP determines that the present sector immediatelyprecedes an offset calibration sector, the DSP sets a "freewheel nextsector" bit to ensure that, during execution of the next controlroutine, the freewheel mode is entered so that the offset dibits, beingon the same side of track center (FIG. 17B), do not contaminate thetracking function which should be performed only after encountering aservo field with dibits on opposite sides of track center (FIG. 5B).After the "freewheel next sector" bit is set, control returns to thecalling routine.

If, above, it was determined that the present sector is an offsetcalibration sector, a positional error signal is added to the offsetaccumulator, and a sample counter is decremented. The DSP thendetermines whether this is the last sample to be taken. If not, controlreturns immediately to the calling routine. However, if this isdetermined not to be the last sample, the value in the offsetaccumulator is divided by the sample count, thus arriving at an average.The result of this division is stored in an offset variable, completingthe calculation portion of the calibration. Finally, the command statusis set to "offset calibration complete" for communication to the master,before control is returned to the calling routine.

SINGLE TRACK SEEK CALIBRATION

The preferred SINGLE TRACK SEEK FEEDFORWARD CALIBRATION post processingroutine includes the following steps. Special reference is made to FIGS.24, 26A, and 26B.

First, the DSP determines whether the calibration is complete. If thecalibration is complete, control returns immediately to the callingroutine. If the calibration routine is not yet complete, processingcontinues as follows.

The DSP determines whether the head is currently within the write windowand, if not, whether the settle timeout counter has expired. Under thesecircumstances, the DSP acts on the assumption that an undue amount oftime has been spent attempting to calibrate, and terminates thecalibration routine early. Specifically, the DSP sets the command statusto "calibration failure" to communicate to the master, and parks theheads before control returns to the calling routine. If, however, theDSP determines that the head is not within the write window but thesettle timeout counter has not yet expired, a sector counter isincremented, and the present PES is contributed to an accumulated valuebefore control is returned to the calling routine. The accumulation ofthe PES in this manner relates to the incrementing of the value of thecost function.

If, above, the DSP determines that the head is settled within the writewindow, processing continues as follows. The DSP determines whetherthere are more seeks to average, during this particular combination ofparameters. If there are more seeks to average, the least significantbit of the requested TrackID is toggled, and the SEEK command routine isentered at the point where the tracking status is reset. Toggling theleast significant bit of the requested TrackID causes a subsequent seekto be executed in a direction opposite that of the present seek.

If, above, it was determined that no more seeks are to be averaged forthis particular combination of parameters (acceleration and decelerationpulse magnitude and duration), the DSP computes the performance measurefor both seek directions. The performance is measured as a function ofthe sector counter (indicating the time required to enter the writewindow). The performance is also measured as a function of theaccumulated PES, which corresponds to a calculation of the costfunction.

Also, the DSP compares the performance measures for both seek directionsto the previously stored best performance measures as determined by theminimal cost function previously calculated. Based on the comparativeperformance, the DSP determines whether the present inward seek oroutward seek performance are better than the previously stored measures.If the present performance is better, the present performance measuresare saved, as are the particular pulse configurations (accelerationpulse duration and height; deceleration pulse duration and height). Ofcourse, if the present performance measures are inferior to thosepreviously determined to be the previous best performance measures, thepresent performances and pulse characterizations are not stored.

Then, the DSP determines whether there are any more feedforwardcombinations to try in this zone. If there are more combinations to try,the DSP alters the feedforward pulse combination (one of the pulseduration or pulse height parameters). The DSP clears the sector countersfor seeks in both directions, as well as the PES accumulator for bothdirections. The seek counter is set to its initial value and the leastsignificant bit of the requested track is toggled so as to allow seekingin a direction opposite to that of the present seek. Then, the SEEKcommand routine is entered at the point where the tracking status isreset.

If, above, the DSP determines that there are no more feedforwardcombinations to try in this zone, the DSP determines whether there areany more zones on the entire disk to calibrate. If there are more zonesto calibrate, the destination track is set to a single track seekcalibration in the next zone, and the SEEK command routine is entered atthe point where the tracking status is reset.

If, however, the DSP determines that there are no more zones to do, itsets the command status to "single track seek calibration complete" forcommunication to the master. The single track seek feedforward block,previously having its output disconnected from the system, is activatedfor use during operation. Finally, control returns to the callingroutine.

Conclusion

Modifications and variations of the above-described embodiments of thepresent invention are possible, as appreciated by those skilled in theart in light of the above teachings. It is therefore to be understoodthat, within the scope of the appended claims and their equivalents, theinvention may be practiced otherwise than as specifically described. Inparticular, terms such as device, system, compensator, block, and soforth, need not be implemented in the manner described above to fallwithin the scope of the invention, but are meant to encompass anythingwhich could reasonably be interpreted as falling within the language ofthe claims.

What is claimed is:
 1. In an information storage device having arecording medium and a reading device for reading information from therecording medium, an arrangement for controlling the reading device'sposition relative to the recording medium by processing position samplesencountered in respective sample periods and for providing an effortsignal before a subsequent sample period to control the position of thereading device relative to the recording medium, the arrangementcomprising:a) at least one position information area embedded betweeninformation in the recording medium, the position information areaincluding a fractional positional information area which the readingdevice encounters only once per sample period and which includes atleast one dibit pair allowing determination of the reading device'sposition with a precision substantially smaller than a width ofinformation tracks in the recording medium; and b) a position controldevice, responsive to only one dibit measurement per sample period fromonly one dibit pair per sample period from the reading device, theposition control device including:1) means for pre-processing the dibitmeasurement to compensate for non-ideal characteristics of the dibitmeasurement, and for generating a pre-processed signal for each dibitmeasurement, wherein the means for pre-processing includes:i) means forcompensating for gain of the reading device as a function of itsposition relative to the recording medium, in response to the only onedibit measurement per sample period; and 2) means, responsive to thepre-processed signal, for generating the effort signal.
 2. Thearrangement of claim 1, wherein a plurality of the position informationareas collectively form:a plurality of generally radially disposed servofields separating generally wedge-shaped data areas in a disk-shapedrecording medium.
 3. The arrangement of claim 2, wherein:the servofields include a plurality of dibit pairs, each dibit pair correspondingto one of a plurality of generally concentric data recording paths,there being only one dibit pair per recording track between adjacentwedge-shaped areas.
 4. The arrangement of claim 3, wherein the positioncontrol device includes:means for processing the position samplesderived from the dibit measurements, the means for processing completinga comparison between present position samples and a requested location,in time for the means for generating the effort signal to generate theeffort signal before the reading device encounters a subsequent servofield.
 5. The arrangement of claim 1, wherein the means forpre-processing includes:means for determining whether an encounteredsignal corresponds to a time window in which the reading device ispredicted to encounter a dibit pair.
 6. The arrangement of claim 1,wherein the means for pre-processing includes:means for correcting anelectrical offset between paths that process respective signals derivedfrom first and second bits of the dibits.
 7. The arrangement of claim 1,wherein the means for pre-processing includes:means for compensating areading response of the reading device as a function of its positionrelative to a track of information in the recording medium, by providinga transfer function wherein:.1) the transfer function variessubstantially linearly with relative position when the reading device iswithin a range about the track, and 2) the transfer function varies in amanner that is not substantially linear when the reading device isbeyond the range.
 8. The arrangement of claim 1, wherein the means forpre-processing includes:means for reducing effects on the positioncontrol device of spurious position samples, the means for reducingeffects including: 1) means for testing whether the position samples liewithin a permissible range, the permissible range being based onprevious position samples and previous effort signals; and 2) means forproviding an integrity-tested positional error signal to the means forgenerating the effort signal, in response to the testing.
 9. Thearrangement of claim 1, wherein the means for pre-processingincludes:means for deriving an extended relative position value onlyfrom (1) current position samples and (2) a requested location, theextended relative position value defining a position of the readingdevice relative to the requested location throughout substantially allof the reading device's range of motion.
 10. The arrangement of claim 1,wherein the means for generating the effort signal includes:a statespace observer including state variables representing position andvelocity of the reading device with respect to the recording medium. 11.The arrangement of claim 1, wherein the means for generating the effortsignal includes:an integral controller, responsive to pre-processedposition samples from the means for pre-processing, for generating theeffort signal to control the position of the reading device relative tothe recording medium.
 12. The arrangement of claim 1, wherein:therecording medium of the information storage apparatus has a storagedensity equivalent to two-sided disks 3.5 inches in diameter having anaggregate formatted storage capability of 120 megabytes.
 13. Thearrangement of claim 1, wherein:the recording medium has informationstored in tracks, there being about 1620 tracks per inch.
 14. Thearrangement of claim 1, wherein:the position information field includesinformation determining the relative position of the reading device withrespect to a requested position, over the entire area of the recordingmedium.
 15. The arrangement of claim 1, wherein the means forpre-processing includes:means for compensating for non-linear amplitudechange of the dibit measurements as a function of reading devicedistance from a center of tracks in the recording medium.
 16. Thearrangement of claim 15, wherein:the position information areas areembedded between information in the recording medium so that the readingdevice allows the position control device processes only one dibitmeasurement per data sector.
 17. In an information storage apparatushaving a recording medium and a reading device, in which the readingdevice provides position information and in which the reading device'sposition relative to the recording medium is responsive to an effortsignal, an arrangement for controlling the reading device's positionrelative to the recording medium, the arrangement comprising:a controlsystem, wherein:a) the control system includes a plurality of parameterswhich, during seek operations and during tracking operations, operate onposition-related signals derived from the position information receivedfrom the reading device, wherein:1) the parameters determine controlsystem dynamics which quantitatively determine how rapidly the controlsystem alters the effort signal in response to changes in a comparisonof the position information with a requested position during the seekoperations and during the tracking operations; and 2) each of theplurality of parameters take on a plurality of different values toreflect varied control system dynamics; b) the control systemconstitutes means for generating the effort signal:1) in response to acomparison of the position information with a requested position; and 2)in accordance with the control system dynamics.
 18. The arrangement of17, further comprising:means for measuring the position of the readingdevice relative to the recording medium to form a measured relativeposition; means for comparing the measured relative position with therequested position to form a comparison result; and means for varyingthe values of the parameters in response to the comparison result. 19.The arrangement of 17, further comprising:means for measuring theposition of the reading device relative to the recording medium to forma measured relative position; means for comparing the measured relativeposition with the requested position to form a comparison result; andmeans for varying the values of the parameters in response to thecomparison result.
 20. The arrangement of claim 19, wherein the meansfor varying constitutes:means for maintaining the values of theparameters substantially constant within each of a plurality of periodsof a seek operation in which the distance between the reading device andthe requested location is reduced, but for changing the values of theparameters between the periods of the seek operation.
 21. Thearrangement of claim 19, wherein the control system further includes:astate space observer operating using at least some of the parameters,the state space observer being responsive to the measured relativeposition to form an estimated position state signal and an estimatedvelocity state signal; wherein control system generates the effortsignal responsive to the estimated position state signal and theestimated velocity state signal.
 22. The arrangement of claim 19,wherein the control system further includes:an integral controlleroperating using at least some of the parameters, the integral controllerbeing responsive to the measured relative position, for forming theeffort signal.
 23. The arrangement of claim 19, wherein the controlsystem further includes:a state space observer operating using at leastsome of the parameters, the state space observer being responsive to themeasured relative position to form an estimated position state signaland an estimated velocity state signal; and an integral controlleroperating using at least some of the parameters, the integral controllerbeing responsive to the estimated position state signal and theestimated velocity state signal, for forming the effort signal.
 24. Thearrangement of claim 19, wherein:the means for varying includes meansfor varying the values of the parameters to form a predeterminedfrequency response, the frequency response determining the variation ofthe effort signal as a function of the comparison of the positioninformation with the requested position.
 25. The arrangement of claim24, wherein:the means for varying includes means for varying the valuesso as to form a frequency response which is substantially a low passfilter response.
 26. The arrangement of claim 25, wherein:the means forvarying includes means for varying the values so as to form a frequencyresponse which determines an effective bandwidth of the control system.27. The arrangement of claim 17, wherein:the controller constitutes afixed point processor; and the varied control system dynamics reduceerrors in how the position-related signals in the fixed point processorrepresent quantities which relate to the position of the reading devicerelative to the recording medium.
 28. In an information storageapparatus having a recording medium and a reading device, a positioncontrol system including an arrangement for determining whether thereading device has stably settled within one or more given windows abouta requested location relative to the recording medium, the positioncontrol system comprising:a) functional blocks collectively controllingthe position of the reading device relative to the recording mediumduring a seek operation in which the relative distance between thereading device and the requested location is reduced, wherein certainfunctional blocks have control inputs for receiving control signalswhich govern position control functions of the functional blocks; b) afirst window detector including a timing device which determines when aparameter related to the position of the reading device relative to therequested location has continuously been less than a first windowmagnitude for a first period of time, the first window detectorproviding a first window signal; and c) a second detector, responsive toa calculated velocity of the reading device relative to the requestedlocation, the second detector providing a second window signal; whereinthe first window signal and the second window signal continuously anddirectly contribute to formation of one or more of the control signalsso as to continuously and directly govern operation of the certainfunctional blocks in the position control system during and after theseek operation.
 29. The position control system of claim 28, wherein thesecond detector includes:means for determining if a measured positionalerror signal is at a maximum value for two sample periods in a row, andproviding a saturation signal indicating a positional error is too largefor the position control system to process.
 30. The position controlsystem of claim 28, wherein the second detector includes:means forextrapolating an estimated positional error signal based on an estimatedvelocity signal to form an extrapolated positional error signal, and forcomparing the extrapolated positional error signal to a positional errorsignal saturation value, and for providing an indication that theposition control system cannot control the position of the readingdevice relative to the recording medium to compensate for an anticipatedsaturation of the measured positional error signal.
 31. The positioncontrol system of claim 28, wherein the second detector includes:awindow detector functioning in the same manner as the first windowdetector, but receiving a measured positional error signal and providingan interim window signal; and means for combining the interim windowsignal with a signal which indicates a previous sample was beyond itswindow, and providing an indication confirming the measured positionalerror signal is larger than a predetermined acceptable threshold. 32.The position control system of claim 28, wherein the second detectorincludes:means for comparing a present received integer pathidentification signal with the requested location, and providing anoff-track indication; and means for combining the off-track signal witha flag indicating a previous sample was not within its window, and forproviding an output signal confirming that the reading device is not atthe requested location.
 33. The position control system of claim 28,wherein the second detector includes:means for determining if a presentinteger path identification signal and the requested location areexactly one apart, and for providing a one-apart signal; means forcomparing a measured positional error signal to a positional errorsignal saturation value, and for providing a saturation indicationsignal; and means for combining the one-apart signal and the saturationindication signal, and for providing an indication confirming thereading device is not at the requested location.
 34. In an informationstorage device having a recording medium and a reading device forreading information from the recording medium, an arrangement forcontrolling the reading device's position relative to the recordingmedium by processing position samples encountered between data sectorsand for providing an effort signal before an end of a subsequent datasector to control the position of the reading device relative to therecording medium, the arrangement comprising:a) at least one positioninformation area embedded between information in the recording medium,the position information area including a fractional positionalinformation area which the reading device encounters only once per datasector and which includes at least one dibit pair allowing determinationof the reading device's position with a precision substantially smallerthan a width of information tracks in the recording medium; and b) aposition control device, responsive to only one dibit measurement perdata sector from only one dibit pair per data sector from the readingdevice, the position control device including:1) means forpre-processing the dibit measurement to compensate for non-idealcharacteristics of the dibit measurement, and for generating apre-processed signal for each dibit measurement, wherein the means forpre-processing includes:i) means for compensating for a gain of thereading device as a function of its position relative to the recordingmedium, in response to the only one dibit measurement per data sector;and 2) means, responsive to the pre-processed signal, for generating theeffort signal.